@Generated(value="software.amazon.awssdk:codegen") public class Backup extends Object implements StructuredPojo, 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 |
backupStateString()
The state of the backup.
|
static Backup.Builder |
builder() |
String |
clusterId()
The identifier (ID) of the cluster that was backed up.
|
Instant |
createTimestamp()
The date and time when the backup was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Backup.Builder> |
serializableBuilderClass() |
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
backupStateString()
.
BackupState
public String backupStateString()
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
backupStateString()
.
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 Backup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Backup.Builder,Backup>
public static Backup.Builder builder()
public static Class<? extends Backup.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.