@Generated(value="software.amazon.awssdk:codegen") public final class Backup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Backup.Builder,Backup>
Describes a single backup.
Modifier and Type | Class and Description |
---|---|
static interface |
Backup.Builder |
Modifier and Type | Method and Description |
---|---|
String |
backupArn()
The ARN of the backup.
|
String |
backupId()
The generated ID of the backup.
|
BackupType |
backupType()
The backup type.
|
String |
backupTypeAsString()
The backup type.
|
static Backup.Builder |
builder() |
Instant |
createdAt()
The time stamp when the backup was created in the database.
|
String |
description()
A user-provided description for a manual backup.
|
String |
engine()
The engine type that is obtained from the server when the backup is created.
|
String |
engineModel()
The engine model that is obtained from the server when the backup is created.
|
String |
engineVersion()
The engine version that is obtained from the server when the backup is created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceProfileArn()
The EC2 instance profile ARN that is obtained from the server when the backup is created.
|
String |
instanceType()
The instance type that is obtained from the server when the backup is created.
|
String |
keyPair()
The key pair that is obtained from the server when the backup is created.
|
String |
preferredBackupWindow()
The preferred backup period that is obtained from the server when the backup is created.
|
String |
preferredMaintenanceWindow()
The preferred maintenance period that is obtained from the server when the backup is created.
|
Integer |
s3DataSize()
This field is deprecated and is no longer used.
|
String |
s3DataUrl()
This field is deprecated and is no longer used.
|
String |
s3LogUrl()
The Amazon S3 URL of the backup's log file.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroupIds()
The security group IDs that are obtained from the server when the backup is created.
|
static Class<? extends Backup.Builder> |
serializableBuilderClass() |
String |
serverName()
The name of the server from which the backup was made.
|
String |
serviceRoleArn()
The service role ARN that is obtained from the server when the backup is created.
|
BackupStatus |
status()
The status of a backup while in progress.
|
String |
statusAsString()
The status of a backup while in progress.
|
String |
statusDescription()
An informational message about backup status.
|
List<String> |
subnetIds()
The subnet IDs that are obtained from the server when the backup is created.
|
Backup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toolsVersion()
The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.
|
String |
toString() |
String |
userArn()
The IAM user ARN of the requester for manual backups.
|
copy
public String backupArn()
The ARN of the backup.
public String backupId()
The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS
myServerName-yyyyMMddHHmmssSSS
public BackupType backupType()
The backup type. Valid values are automated
or manual
.
If the service returns an enum value that is not available in the current SDK version, backupType
will
return BackupType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
backupTypeAsString()
.
automated
or manual
.BackupType
public String backupTypeAsString()
The backup type. Valid values are automated
or manual
.
If the service returns an enum value that is not available in the current SDK version, backupType
will
return BackupType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
backupTypeAsString()
.
automated
or manual
.BackupType
public Instant createdAt()
The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z
2016-07-29T13:38:47.520Z
public String description()
A user-provided description for a manual backup. This field is empty for automated backups.
public String engine()
The engine type that is obtained from the server when the backup is created.
public String engineModel()
The engine model that is obtained from the server when the backup is created.
public String engineVersion()
The engine version that is obtained from the server when the backup is created.
public String instanceProfileArn()
The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored, you are not required to provide the InstanceProfileArn again if you restore a backup.
public String instanceType()
The instance type that is obtained from the server when the backup is created.
public String keyPair()
The key pair that is obtained from the server when the backup is created.
public String preferredBackupWindow()
The preferred backup period that is obtained from the server when the backup is created.
public String preferredMaintenanceWindow()
The preferred maintenance period that is obtained from the server when the backup is created.
public Integer s3DataSize()
This field is deprecated and is no longer used.
public String s3DataUrl()
This field is deprecated and is no longer used.
public String s3LogUrl()
The Amazon S3 URL of the backup's log file.
public List<String> securityGroupIds()
The security group IDs that are obtained from the server when the backup is created.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String serverName()
The name of the server from which the backup was made.
public String serviceRoleArn()
The service role ARN that is obtained from the server when the backup is created.
public BackupStatus status()
The status of a backup while in progress.
If the service returns an enum value that is not available in the current SDK version, status
will
return BackupStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
BackupStatus
public String statusAsString()
The status of a backup while in progress.
If the service returns an enum value that is not available in the current SDK version, status
will
return BackupStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
BackupStatus
public String statusDescription()
An informational message about backup status.
public List<String> subnetIds()
The subnet IDs that are obtained from the server when the backup is created.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String toolsVersion()
The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.
public String userArn()
The IAM user ARN of the requester for manual backups. This field is empty for automated backups.
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.