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