@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class SourceUid extends Object
Modifier and Type | Method and Description |
---|---|
protected void |
check() |
long |
clusterId() |
long |
clusterIncarnationId() |
BackupClusterUid |
clusterUid() |
String |
cohesityUid() |
Long |
entityId() |
String |
entityIdString() |
boolean |
equals(Object another)
This instance is equal to all instances of
SourceUid that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
value . |
LocationId |
locationId() |
protected static <T extends com.iland.cohesity.iaas.backups.common.model.CohesityUid> |
of(Function<String,T> factory,
LocationId locationId,
long clusterId,
long clusterIncarnationId,
String entityId,
String urnEntityPrefix) |
protected static <T extends com.iland.cohesity.iaas.backups.common.model.CohesityUid> |
of(Function<String,T> factory,
LocationId locationId,
RawCohesityUid cohesityUid,
String urnEntityPrefix) |
static SourceUid |
of(LocationId locationId,
long clusterId,
long clusterIncarnationId,
long sourceId) |
static SourceUid |
of(String value)
Construct a new immutable
SourceUid instance. |
RawCohesityUid |
rawCohesityUid() |
String |
toString() |
String |
value() |
public String value()
value
attributepublic boolean equals(@Nullable Object another)
SourceUid
that have equal attribute values.public int hashCode()
value
.public 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 long clusterId()
Returns a lazily initialized value of the clusterId
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.
clusterId
attributepublic long clusterIncarnationId()
Returns a lazily initialized value of the clusterIncarnationId
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.
clusterIncarnationId
attributepublic BackupClusterUid clusterUid()
Returns a lazily initialized value of the clusterUid
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.
clusterUid
attributepublic String cohesityUid()
Returns a lazily initialized value of the cohesityUid
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.
cohesityUid
attributepublic RawCohesityUid rawCohesityUid()
Returns a lazily initialized value of the rawCohesityUid
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.
rawCohesityUid
attributepublic String entityIdString()
Returns a lazily initialized value of the entityIdString
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.
entityIdString
attributepublic Long entityId()
Returns a lazily initialized value of the entityId
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.
entityId
attributepublic static SourceUid of(String value)
SourceUid
instance.value
- The value for the value
attributepublic static SourceUid of(LocationId locationId, long clusterId, long clusterIncarnationId, long sourceId)
protected void check()
protected static <T extends com.iland.cohesity.iaas.backups.common.model.CohesityUid> T of(Function<String,T> factory, LocationId locationId, RawCohesityUid cohesityUid, String urnEntityPrefix)
protected static <T extends com.iland.cohesity.iaas.backups.common.model.CohesityUid> T of(Function<String,T> factory, LocationId locationId, long clusterId, long clusterIncarnationId, String entityId, String urnEntityPrefix)
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.