public class BackupTarget
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BackupTarget.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
BackupTarget() |
BackupTarget(java.lang.String name,
java.lang.Long backupTargetID,
Optional<Attributes> attributes) |
Modifier and Type | Method and Description |
---|---|
BackupTarget.Builder |
asBuilder() |
static BackupTarget.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<Attributes> |
getAttributes()
List of Name/Value pairs in JSON object format.
|
java.lang.Long |
getBackupTargetID()
Unique identifier assigned to the backup target.
|
java.lang.String |
getName()
Name for the backup target.
|
int |
hashCode() |
void |
setAttributes(Optional<Attributes> attributes) |
void |
setBackupTargetID(java.lang.Long backupTargetID) |
void |
setName(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public BackupTarget(java.lang.String name, java.lang.Long backupTargetID, Optional<Attributes> attributes)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.Long getBackupTargetID()
public void setBackupTargetID(java.lang.Long backupTargetID)
public Optional<Attributes> getAttributes()
public void setAttributes(Optional<Attributes> attributes)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static BackupTarget.Builder builder()
public final BackupTarget.Builder asBuilder()