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