@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVdcBackupClusterInfo extends Object implements VdcBackupClusterInfo
VdcBackupClusterInfo.
Use the builder to create immutable instances:
ImmutableVdcBackupClusterInfo.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableVdcBackupClusterInfo.Builder
Builds instances of type
ImmutableVdcBackupClusterInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableVdcBackupClusterInfo.Builder |
builder()
Creates a builder for
ImmutableVdcBackupClusterInfo. |
static ImmutableVdcBackupClusterInfo |
copyOf(VdcBackupClusterInfo instance)
Creates an immutable copy of a
VdcBackupClusterInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVdcBackupClusterInfo that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
vdcUuid, localCluster, remoteClusters. |
LocalVdcBackupClusterInfo |
localCluster()
Info about the local cluster.
|
com.google.common.collect.ImmutableSet<RemoteVdcBackupClusterInfo> |
remoteClusters()
Info about remote clusters.
|
String |
toString()
Prints the immutable value
VdcBackupClusterInfo with attribute values. |
VdcUuid |
vdcUuid()
The UUID of the vDC.
|
ImmutableVdcBackupClusterInfo |
withLocalCluster(LocalVdcBackupClusterInfo value)
Copy the current immutable object by setting a value for the
localCluster attribute. |
ImmutableVdcBackupClusterInfo |
withRemoteClusters(Iterable<? extends RemoteVdcBackupClusterInfo> elements)
Copy the current immutable object with elements that replace the content of
remoteClusters. |
ImmutableVdcBackupClusterInfo |
withRemoteClusters(RemoteVdcBackupClusterInfo... elements)
Copy the current immutable object with elements that replace the content of
remoteClusters. |
ImmutableVdcBackupClusterInfo |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public VdcUuid vdcUuid()
vdcUuid in interface VdcBackupClusterInfopublic LocalVdcBackupClusterInfo localCluster()
localCluster in interface VdcBackupClusterInfopublic com.google.common.collect.ImmutableSet<RemoteVdcBackupClusterInfo> remoteClusters()
remoteClusters in interface VdcBackupClusterInfopublic final ImmutableVdcBackupClusterInfo withVdcUuid(VdcUuid value)
vdcUuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for vdcUuidthis objectpublic final ImmutableVdcBackupClusterInfo withLocalCluster(LocalVdcBackupClusterInfo value)
localCluster attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for localClusterthis objectpublic final ImmutableVdcBackupClusterInfo withRemoteClusters(RemoteVdcBackupClusterInfo... elements)
remoteClusters.elements - The elements to setthis objectpublic final ImmutableVdcBackupClusterInfo withRemoteClusters(Iterable<? extends RemoteVdcBackupClusterInfo> elements)
remoteClusters.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of remoteClusters elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableVdcBackupClusterInfo that have equal attribute values.public int hashCode()
vdcUuid, localCluster, remoteClusters.public String toString()
VdcBackupClusterInfo with attribute values.public static ImmutableVdcBackupClusterInfo copyOf(VdcBackupClusterInfo instance)
VdcBackupClusterInfo 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 ImmutableVdcBackupClusterInfo.Builder builder()
ImmutableVdcBackupClusterInfo.
ImmutableVdcBackupClusterInfo.builder()
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // required vdcUuid
.localCluster(com.iland.cohesity.iaas.backups.backupvdcs.api.model.LocalVdcBackupClusterInfo) // required localCluster
.addRemoteClusters|addAllRemoteClusters(com.iland.cohesity.iaas.backups.backupvdcs.api.model.RemoteVdcBackupClusterInfo) // remoteClusters elements
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.