@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVCloudProtectionSourceRef extends Object implements VCloudProtectionSourceRef
VCloudProtectionSourceRef.
Use the builder to create immutable instances:
ImmutableVCloudProtectionSourceRef.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableVCloudProtectionSourceRef.Builder
Builds instances of type
ImmutableVCloudProtectionSourceRef. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableVCloudProtectionSourceRef.Builder |
builder()
Creates a builder for
ImmutableVCloudProtectionSourceRef. |
static ImmutableVCloudProtectionSourceRef |
copyOf(VCloudProtectionSourceRef instance)
Creates an immutable copy of a
VCloudProtectionSourceRef value. |
VCloudProtectionSourceType |
entityType()
The type of the source entity.
|
VCloudUuid |
entityUuid()
The iland entity UUID.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVCloudProtectionSourceRef that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
entityUuid, entityType. |
String |
toString()
Prints the immutable value
VCloudProtectionSourceRef with attribute values. |
ImmutableVCloudProtectionSourceRef |
withEntityType(VCloudProtectionSourceType value)
Copy the current immutable object by setting a value for the
entityType attribute. |
ImmutableVCloudProtectionSourceRef |
withEntityUuid(VCloudUuid value)
Copy the current immutable object by setting a value for the
entityUuid attribute. |
public VCloudUuid entityUuid()
entityUuid in interface VCloudProtectionSourceRefpublic VCloudProtectionSourceType entityType()
entityType in interface VCloudProtectionSourceRefpublic final ImmutableVCloudProtectionSourceRef withEntityUuid(VCloudUuid value)
entityUuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for entityUuidthis objectpublic final ImmutableVCloudProtectionSourceRef 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 boolean equals(@Nullable Object another)
ImmutableVCloudProtectionSourceRef that have equal attribute values.public int hashCode()
entityUuid, entityType.public String toString()
VCloudProtectionSourceRef with attribute values.public static ImmutableVCloudProtectionSourceRef copyOf(VCloudProtectionSourceRef instance)
VCloudProtectionSourceRef 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 ImmutableVCloudProtectionSourceRef.Builder builder()
ImmutableVCloudProtectionSourceRef.
ImmutableVCloudProtectionSourceRef.builder()
.entityUuid(com.iland.cohesity.iaas.backups.common.model.VCloudUuid) // required entityUuid
.entityType(com.iland.cohesity.iaas.backups.common.enums.VCloudProtectionSourceType) // required entityType
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.