@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class VdcUuid extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
URN_PREFIX |
Modifier and Type | Method and Description |
---|---|
protected void |
check() |
boolean |
equals(Object another)
This instance is equal to all instances of
VdcUuid that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
value . |
static boolean |
isValidVdcUuid(VCloudUuid vCloudUuid) |
LocationId |
locationId() |
protected static <T extends com.iland.cohesity.iaas.backups.common.model.AbstractVCloudUuid> |
of(Function<String,T> factory,
LocationId locationId,
String vcloudId) |
protected static <T extends com.iland.cohesity.iaas.backups.common.model.AbstractVCloudUuid> |
of(Function<String,T> factory,
VCloudUuid vCloudUuid) |
static VdcUuid |
of(LocationId locationId,
String vcloudId) |
static VdcUuid |
of(LocationId locationId,
UUID uuid) |
static VdcUuid |
of(String value)
Construct a new immutable
VdcUuid instance. |
static VdcUuid |
of(VCloudUuid vCloudUuid) |
String |
toString() |
VCloudUuid |
toVCloudUuid() |
UUID |
uuid() |
String |
value() |
String |
vcloudId() |
protected static final String URN_PREFIX
public String value()
value
attributepublic boolean equals(@Nullable Object another)
VdcUuid
that have equal attribute values.public int hashCode()
value
.public String vcloudId()
Returns a lazily initialized value of the vcloudId
attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
In case of any exception or error thrown by the lazy value initializer,
the result will not be memoised (i.e. remembered) and on next call computation
will be attempted again.
vcloudId
attributepublic LocationId locationId()
Returns a lazily initialized value of the locationId
attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
In case of any exception or error thrown by the lazy value initializer,
the result will not be memoised (i.e. remembered) and on next call computation
will be attempted again.
locationId
attributepublic UUID uuid()
Returns a lazily initialized value of the uuid
attribute.
Initialized once and only once and stored for subsequent access with proper synchronization.
In case of any exception or error thrown by the lazy value initializer,
the result will not be memoised (i.e. remembered) and on next call computation
will be attempted again.
uuid
attributepublic static VdcUuid of(String value)
VdcUuid
instance.value
- The value for the value
attributepublic static VdcUuid of(LocationId locationId, String vcloudId)
public static VdcUuid of(VCloudUuid vCloudUuid)
public static VdcUuid of(LocationId locationId, UUID uuid)
public static boolean isValidVdcUuid(VCloudUuid vCloudUuid)
protected void check()
public VCloudUuid toVCloudUuid()
protected static <T extends com.iland.cohesity.iaas.backups.common.model.AbstractVCloudUuid> T of(Function<String,T> factory, LocationId locationId, String vcloudId)
protected static <T extends com.iland.cohesity.iaas.backups.common.model.AbstractVCloudUuid> T of(Function<String,T> factory, VCloudUuid vCloudUuid)
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.