@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class BackupClusterUid extends Object
Modifier and Type | Method and Description |
---|---|
long |
clusterId() |
long |
clusterIncarnationId() |
boolean |
equals(Object another)
This instance is equal to all instances of
BackupClusterUid that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
value . |
static BackupClusterUid |
of(long clusterId,
long clusterIncarnationId) |
static BackupClusterUid |
of(String value)
Construct a new immutable
BackupClusterUid instance. |
String |
toString() |
String |
value() |
public String value()
value
attributepublic boolean equals(@Nullable Object another)
BackupClusterUid
that have equal attribute values.public int hashCode()
value
.public 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 static BackupClusterUid of(String value)
BackupClusterUid
instance.value
- The value for the value
attributepublic static BackupClusterUid of(long clusterId, long clusterIncarnationId)
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.