@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableLocalVdcBackupClusterInfo extends Object implements LocalVdcBackupClusterInfo
LocalVdcBackupClusterInfo
.
Use the builder to create immutable instances:
ImmutableLocalVdcBackupClusterInfo.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableLocalVdcBackupClusterInfo.Builder
Builds instances of type
ImmutableLocalVdcBackupClusterInfo . |
Modifier and Type | Method and Description |
---|---|
static ImmutableLocalVdcBackupClusterInfo.Builder |
builder()
Creates a builder for
ImmutableLocalVdcBackupClusterInfo . |
static ImmutableLocalVdcBackupClusterInfo |
copyOf(LocalVdcBackupClusterInfo instance)
Creates an immutable copy of a
LocalVdcBackupClusterInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableLocalVdcBackupClusterInfo that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
uid , name . |
String |
name()
Friendly name of the cluster.
|
String |
toString()
Prints the immutable value
LocalVdcBackupClusterInfo with attribute values. |
BackupClusterUid |
uid()
UID of the local cluster.
|
ImmutableLocalVdcBackupClusterInfo |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableLocalVdcBackupClusterInfo |
withUid(BackupClusterUid value)
Copy the current immutable object by setting a value for the
uid attribute. |
public BackupClusterUid uid()
uid
in interface LocalVdcBackupClusterInfo
public String name()
name
in interface LocalVdcBackupClusterInfo
public final ImmutableLocalVdcBackupClusterInfo 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 ImmutableLocalVdcBackupClusterInfo 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 boolean equals(@Nullable Object another)
ImmutableLocalVdcBackupClusterInfo
that have equal attribute values.public int hashCode()
uid
, name
.public String toString()
LocalVdcBackupClusterInfo
with attribute values.public static ImmutableLocalVdcBackupClusterInfo copyOf(LocalVdcBackupClusterInfo instance)
LocalVdcBackupClusterInfo
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 ImmutableLocalVdcBackupClusterInfo.Builder builder()
ImmutableLocalVdcBackupClusterInfo
.
ImmutableLocalVdcBackupClusterInfo.builder() .uid(com.iland.cohesity.iaas.backups.common.model.BackupClusterUid) // requireduid
.name(String) // requiredname
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.