@Generated(value="software.amazon.awssdk:codegen") public final class Backup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Backup.Builder,Backup>
Contains information about a backup of an AWS CloudHSM cluster.
Modifier and Type | Class and Description |
---|---|
static interface |
Backup.Builder |
Modifier and Type | Method and Description |
---|---|
String |
backupId()
The identifier (ID) of the backup.
|
BackupState |
backupState()
The state of the backup.
|
String |
backupStateAsString()
The state of the backup.
|
static Backup.Builder |
builder() |
String |
clusterId()
The identifier (ID) of the cluster that was backed up.
|
Instant |
copyTimestamp()
Returns the value of the CopyTimestamp property for this object.
|
Instant |
createTimestamp()
The date and time when the backup was created.
|
Instant |
deleteTimestamp()
The date and time when the backup will be permanently deleted.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Backup.Builder> |
serializableBuilderClass() |
String |
sourceBackup()
Returns the value of the SourceBackup property for this object.
|
String |
sourceCluster()
Returns the value of the SourceCluster property for this object.
|
String |
sourceRegion()
Returns the value of the SourceRegion property for this object.
|
Backup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String backupId()
The identifier (ID) of the backup.
public BackupState backupState()
The state of the backup.
If the service returns an enum value that is not available in the current SDK version, backupState
will
return BackupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
backupStateAsString()
.
BackupState
public String backupStateAsString()
The state of the backup.
If the service returns an enum value that is not available in the current SDK version, backupState
will
return BackupState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
backupStateAsString()
.
BackupState
public String clusterId()
The identifier (ID) of the cluster that was backed up.
public Instant createTimestamp()
The date and time when the backup was created.
public Instant copyTimestamp()
public String sourceRegion()
public String sourceBackup()
public String sourceCluster()
public Instant deleteTimestamp()
The date and time when the backup will be permanently deleted.
public Backup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Backup.Builder,Backup>
public static Backup.Builder builder()
public static Class<? extends Backup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.