@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVCloudProtectionSource extends Object implements VCloudProtectionSource
VCloudProtectionSource.
Use the builder to create immutable instances:
ImmutableVCloudProtectionSource.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableVCloudProtectionSource.Builder
Builds instances of type
ImmutableVCloudProtectionSource. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableVCloudProtectionSource.Builder |
builder()
Creates a builder for
ImmutableVCloudProtectionSource. |
SourceUid |
cohesityUid()
The UID of the Cohesity source.
|
static ImmutableVCloudProtectionSource |
copyOf(VCloudProtectionSource instance)
Creates an immutable copy of a
VCloudProtectionSource value. |
String |
entityName()
The name of the associated entity.
|
VCloudProtectionSourceType |
entityType()
The type of the associated iland IaaS entity.
|
Optional<VCloudUuid> |
entityUuid()
The iland IaaS entity UUID.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVCloudProtectionSource that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
entityUuid, entityType, entityName, cohesityUid. |
String |
toString()
Prints the immutable value
VCloudProtectionSource with attribute values. |
ImmutableVCloudProtectionSource |
withCohesityUid(SourceUid value)
Copy the current immutable object by setting a value for the
cohesityUid attribute. |
ImmutableVCloudProtectionSource |
withEntityName(String value)
Copy the current immutable object by setting a value for the
entityName attribute. |
ImmutableVCloudProtectionSource |
withEntityType(VCloudProtectionSourceType value)
Copy the current immutable object by setting a value for the
entityType attribute. |
ImmutableVCloudProtectionSource |
withEntityUuid(Optional<? extends VCloudUuid> optional)
Copy the current immutable object by setting an optional value for the
entityUuid attribute. |
ImmutableVCloudProtectionSource |
withEntityUuid(VCloudUuid value)
Copy the current immutable object by setting a present value for the optional
entityUuid attribute. |
public Optional<VCloudUuid> entityUuid()
entityUuid in interface VCloudProtectionSourcepublic VCloudProtectionSourceType entityType()
entityType in interface VCloudProtectionSourcepublic String entityName()
entityName in interface VCloudProtectionSourcepublic SourceUid cohesityUid()
cohesityUid in interface VCloudProtectionSourcepublic final ImmutableVCloudProtectionSource withEntityUuid(VCloudUuid value)
entityUuid attribute.value - The value for entityUuidthis objectpublic final ImmutableVCloudProtectionSource withEntityUuid(Optional<? extends VCloudUuid> optional)
entityUuid attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this.optional - A value for entityUuidthis objectpublic final ImmutableVCloudProtectionSource withEntityType(VCloudProtectionSourceType value)
entityType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for entityTypethis objectpublic final ImmutableVCloudProtectionSource withEntityName(String value)
entityName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for entityNamethis objectpublic final ImmutableVCloudProtectionSource withCohesityUid(SourceUid value)
cohesityUid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for cohesityUidthis objectpublic boolean equals(@Nullable Object another)
ImmutableVCloudProtectionSource that have equal attribute values.public int hashCode()
entityUuid, entityType, entityName, cohesityUid.public String toString()
VCloudProtectionSource with attribute values.public static ImmutableVCloudProtectionSource copyOf(VCloudProtectionSource instance)
VCloudProtectionSource value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableVCloudProtectionSource.Builder builder()
ImmutableVCloudProtectionSource.
ImmutableVCloudProtectionSource.builder()
.entityUuid(VCloudUuid) // optional entityUuid
.entityType(com.iland.cohesity.iaas.backups.common.enums.VCloudProtectionSourceType) // required entityType
.entityName(String) // required entityName
.cohesityUid(com.iland.cohesity.iaas.backups.common.model.SourceUid) // required cohesityUid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.