@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ProtectionSourceUid 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
ProtectionSourceUid 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 ProtectionSourceUid |
of(LocationId locationId,
long clusterId,
long clusterIncarnationId,
long jobId) |
static ProtectionSourceUid |
of(LocationId locationId,
RawCohesityUid cohesityJobUid) |
static ProtectionSourceUid |
of(LocationId locationId,
String cohesityJobUid) |
static ProtectionSourceUid |
of(String value)
Construct a new immutable
ProtectionSourceUid instance. |
RawCohesityUid |
rawCohesityUid() |
String |
toString() |
String |
value() |
public String value()
value
attributepublic boolean equals(@Nullable Object another)
ProtectionSourceUid
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 ProtectionSourceUid of(String value)
ProtectionSourceUid
instance.value
- The value for the value
attributepublic static ProtectionSourceUid of(LocationId locationId, String cohesityJobUid)
public static ProtectionSourceUid of(LocationId locationId, RawCohesityUid cohesityJobUid)
public static ProtectionSourceUid of(LocationId locationId, long clusterId, long clusterIncarnationId, long jobId)
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.