@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableRemoteVdcBackupClusterInfo extends Object implements RemoteVdcBackupClusterInfo
RemoteVdcBackupClusterInfo
.
Use the builder to create immutable instances:
ImmutableRemoteVdcBackupClusterInfo.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableRemoteVdcBackupClusterInfo.Builder
Builds instances of type
ImmutableRemoteVdcBackupClusterInfo . |
Modifier and Type | Method and Description |
---|---|
static ImmutableRemoteVdcBackupClusterInfo.Builder |
builder()
Creates a builder for
ImmutableRemoteVdcBackupClusterInfo . |
static ImmutableRemoteVdcBackupClusterInfo |
copyOf(RemoteVdcBackupClusterInfo instance)
Creates an immutable copy of a
RemoteVdcBackupClusterInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRemoteVdcBackupClusterInfo that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
uid , name , status . |
String |
name()
Friendly name of the cluster.
|
RemoteBackupClusterStatus |
status()
Status of the cluster for the target vDC.
|
String |
toString()
Prints the immutable value
RemoteVdcBackupClusterInfo with attribute values. |
BackupClusterUid |
uid()
UID of the remote cluster.
|
ImmutableRemoteVdcBackupClusterInfo |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableRemoteVdcBackupClusterInfo |
withStatus(RemoteBackupClusterStatus value)
Copy the current immutable object by setting a value for the
status attribute. |
ImmutableRemoteVdcBackupClusterInfo |
withUid(BackupClusterUid value)
Copy the current immutable object by setting a value for the
uid attribute. |
public BackupClusterUid uid()
uid
in interface RemoteVdcBackupClusterInfo
public String name()
name
in interface RemoteVdcBackupClusterInfo
public RemoteBackupClusterStatus status()
status
in interface RemoteVdcBackupClusterInfo
public final ImmutableRemoteVdcBackupClusterInfo withUid(BackupClusterUid value)
uid
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for uidthis
objectpublic final ImmutableRemoteVdcBackupClusterInfo withName(String value)
name
attribute.
An equals check used to prevent copying of the same value by returning this
.value
- A new value for namethis
objectpublic final ImmutableRemoteVdcBackupClusterInfo withStatus(RemoteBackupClusterStatus value)
status
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for statusthis
objectpublic boolean equals(@Nullable Object another)
ImmutableRemoteVdcBackupClusterInfo
that have equal attribute values.public int hashCode()
uid
, name
, status
.public String toString()
RemoteVdcBackupClusterInfo
with attribute values.public static ImmutableRemoteVdcBackupClusterInfo copyOf(RemoteVdcBackupClusterInfo instance)
RemoteVdcBackupClusterInfo
value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance
- The instance to copypublic static ImmutableRemoteVdcBackupClusterInfo.Builder builder()
ImmutableRemoteVdcBackupClusterInfo
.
ImmutableRemoteVdcBackupClusterInfo.builder() .uid(com.iland.cohesity.iaas.backups.common.model.BackupClusterUid) // requireduid
.name(String) // requiredname
.status(com.iland.cohesity.iaas.backups.backupvdcs.api.enums.RemoteBackupClusterStatus) // requiredstatus
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.