@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackupJob extends Object implements Serializable, Cloneable, StructuredPojo
Contains detailed information about a backup job.
Constructor and Description |
---|
BackupJob() |
Modifier and Type | Method and Description |
---|---|
BackupJob |
addBackupOptionsEntry(String key,
String value)
Add a single BackupOptions entry
|
BackupJob |
clearBackupOptionsEntries()
Removes all the entries added into BackupOptions.
|
BackupJob |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The account ID that owns the backup job.
|
String |
getBackupJobId()
Uniquely identifies a request to Backup to back up a resource.
|
Map<String,String> |
getBackupOptions()
Specifies the backup option for a selected resource.
|
Long |
getBackupSizeInBytes()
The size, in bytes, of a backup.
|
String |
getBackupType()
Represents the type of backup for a backup job.
|
String |
getBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
String |
getBackupVaultName()
The name of a logical container where backups are stored.
|
Long |
getBytesTransferred()
The size in bytes transferred to a backup vault at the time that the job status was queried.
|
Date |
getCompletionDate()
The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC).
|
RecoveryPointCreator |
getCreatedBy()
Contains identifying information about the creation of a backup job, including the
BackupPlanArn ,
BackupPlanId , BackupPlanVersion , and BackupRuleId of the backup plan used
to create it. |
Date |
getCreationDate()
The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC).
|
Date |
getExpectedCompletionDate()
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC).
|
String |
getIamRoleArn()
Specifies the IAM role ARN used to create the target recovery point.
|
Date |
getInitiationDate()
This is the date on which the backup job was initiated.
|
Boolean |
getIsParent()
This is a boolean value indicating this is a parent (composite) backup job.
|
String |
getMessageCategory()
This parameter is the job count for the specified message category.
|
String |
getParentJobId()
This uniquely identifies a request to Backup to back up a resource.
|
String |
getPercentDone()
Contains an estimated percentage complete of a job at the time the job status was queried.
|
String |
getRecoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
String |
getResourceArn()
An ARN that uniquely identifies a resource.
|
String |
getResourceName()
This is the non-unique name of the resource that belongs to the specified backup.
|
String |
getResourceType()
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS)
volume or an Amazon Relational Database Service (Amazon RDS) database.
|
Date |
getStartBy()
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before
it is canceled.
|
String |
getState()
The current state of a backup job.
|
String |
getStatusMessage()
A detailed message explaining the status of the job to back up a resource.
|
int |
hashCode() |
Boolean |
isParent()
This is a boolean value indicating this is a parent (composite) backup job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The account ID that owns the backup job.
|
void |
setBackupJobId(String backupJobId)
Uniquely identifies a request to Backup to back up a resource.
|
void |
setBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource.
|
void |
setBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a backup.
|
void |
setBackupType(String backupType)
Represents the type of backup for a backup job.
|
void |
setBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
void |
setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
void |
setBytesTransferred(Long bytesTransferred)
The size in bytes transferred to a backup vault at the time that the job status was queried.
|
void |
setCompletionDate(Date completionDate)
The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC).
|
void |
setCreatedBy(RecoveryPointCreator createdBy)
Contains identifying information about the creation of a backup job, including the
BackupPlanArn ,
BackupPlanId , BackupPlanVersion , and BackupRuleId of the backup plan used
to create it. |
void |
setCreationDate(Date creationDate)
The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC).
|
void |
setExpectedCompletionDate(Date expectedCompletionDate)
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC).
|
void |
setIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point.
|
void |
setInitiationDate(Date initiationDate)
This is the date on which the backup job was initiated.
|
void |
setIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) backup job.
|
void |
setMessageCategory(String messageCategory)
This parameter is the job count for the specified message category.
|
void |
setParentJobId(String parentJobId)
This uniquely identifies a request to Backup to back up a resource.
|
void |
setPercentDone(String percentDone)
Contains an estimated percentage complete of a job at the time the job status was queried.
|
void |
setRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
void |
setResourceArn(String resourceArn)
An ARN that uniquely identifies a resource.
|
void |
setResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
|
void |
setResourceType(String resourceType)
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS)
volume or an Amazon Relational Database Service (Amazon RDS) database.
|
void |
setStartBy(Date startBy)
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before
it is canceled.
|
void |
setState(String state)
The current state of a backup job.
|
void |
setStatusMessage(String statusMessage)
A detailed message explaining the status of the job to back up a resource.
|
String |
toString()
Returns a string representation of this object.
|
BackupJob |
withAccountId(String accountId)
The account ID that owns the backup job.
|
BackupJob |
withBackupJobId(String backupJobId)
Uniquely identifies a request to Backup to back up a resource.
|
BackupJob |
withBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource.
|
BackupJob |
withBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a backup.
|
BackupJob |
withBackupType(String backupType)
Represents the type of backup for a backup job.
|
BackupJob |
withBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault . |
BackupJob |
withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored.
|
BackupJob |
withBytesTransferred(Long bytesTransferred)
The size in bytes transferred to a backup vault at the time that the job status was queried.
|
BackupJob |
withCompletionDate(Date completionDate)
The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC).
|
BackupJob |
withCreatedBy(RecoveryPointCreator createdBy)
Contains identifying information about the creation of a backup job, including the
BackupPlanArn ,
BackupPlanId , BackupPlanVersion , and BackupRuleId of the backup plan used
to create it. |
BackupJob |
withCreationDate(Date creationDate)
The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC).
|
BackupJob |
withExpectedCompletionDate(Date expectedCompletionDate)
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC).
|
BackupJob |
withIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point.
|
BackupJob |
withInitiationDate(Date initiationDate)
This is the date on which the backup job was initiated.
|
BackupJob |
withIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) backup job.
|
BackupJob |
withMessageCategory(String messageCategory)
This parameter is the job count for the specified message category.
|
BackupJob |
withParentJobId(String parentJobId)
This uniquely identifies a request to Backup to back up a resource.
|
BackupJob |
withPercentDone(String percentDone)
Contains an estimated percentage complete of a job at the time the job status was queried.
|
BackupJob |
withRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 . |
BackupJob |
withResourceArn(String resourceArn)
An ARN that uniquely identifies a resource.
|
BackupJob |
withResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
|
BackupJob |
withResourceType(String resourceType)
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS)
volume or an Amazon Relational Database Service (Amazon RDS) database.
|
BackupJob |
withStartBy(Date startBy)
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before
it is canceled.
|
BackupJob |
withState(BackupJobState state)
The current state of a backup job.
|
BackupJob |
withState(String state)
The current state of a backup job.
|
BackupJob |
withStatusMessage(String statusMessage)
A detailed message explaining the status of the job to back up a resource.
|
public void setAccountId(String accountId)
The account ID that owns the backup job.
accountId
- The account ID that owns the backup job.public String getAccountId()
The account ID that owns the backup job.
public BackupJob withAccountId(String accountId)
The account ID that owns the backup job.
accountId
- The account ID that owns the backup job.public void setBackupJobId(String backupJobId)
Uniquely identifies a request to Backup to back up a resource.
backupJobId
- Uniquely identifies a request to Backup to back up a resource.public String getBackupJobId()
Uniquely identifies a request to Backup to back up a resource.
public BackupJob withBackupJobId(String backupJobId)
Uniquely identifies a request to Backup to back up a resource.
backupJobId
- Uniquely identifies a request to Backup to back up a resource.public void setBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are
unique to the account used to create them and the Amazon Web Services Region where they are created. They
consist of lowercase letters, numbers, and hyphens.public String getBackupVaultName()
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
public BackupJob withBackupVaultName(String backupVaultName)
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are
unique to the account used to create them and the Amazon Web Services Region where they are created. They
consist of lowercase letters, numbers, and hyphens.public void setBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public String getBackupVaultArn()
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public BackupJob withBackupVaultArn(String backupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.public void setRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointArn
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public String getRecoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public BackupJob withRecoveryPointArn(String recoveryPointArn)
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
recoveryPointArn
- An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.public void setResourceArn(String resourceArn)
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
resourceArn
- An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.public String getResourceArn()
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
public BackupJob withResourceArn(String resourceArn)
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
resourceArn
- An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.public void setCreationDate(Date creationDate)
The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
creationDate
- The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value
of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents
Friday, January 26, 2018 12:11:30.087 AM.public Date getCreationDate()
The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public BackupJob withCreationDate(Date creationDate)
The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
January 26, 2018 12:11:30.087 AM.
creationDate
- The date and time a backup job is created, in Unix format and Coordinated Universal Time (UTC). The value
of CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents
Friday, January 26, 2018 12:11:30.087 AM.public void setCompletionDate(Date completionDate)
The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC).
The value of CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
completionDate
- The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time
(UTC). The value of CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public Date getCompletionDate()
The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC).
The value of CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public BackupJob withCompletionDate(Date completionDate)
The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time (UTC).
The value of CompletionDate
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
completionDate
- The date and time a job to create a backup job is completed, in Unix format and Coordinated Universal Time
(UTC). The value of CompletionDate
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public void setState(String state)
The current state of a backup job.
state
- The current state of a backup job.BackupJobState
public String getState()
The current state of a backup job.
BackupJobState
public BackupJob withState(String state)
The current state of a backup job.
state
- The current state of a backup job.BackupJobState
public BackupJob withState(BackupJobState state)
The current state of a backup job.
state
- The current state of a backup job.BackupJobState
public void setStatusMessage(String statusMessage)
A detailed message explaining the status of the job to back up a resource.
statusMessage
- A detailed message explaining the status of the job to back up a resource.public String getStatusMessage()
A detailed message explaining the status of the job to back up a resource.
public BackupJob withStatusMessage(String statusMessage)
A detailed message explaining the status of the job to back up a resource.
statusMessage
- A detailed message explaining the status of the job to back up a resource.public void setPercentDone(String percentDone)
Contains an estimated percentage complete of a job at the time the job status was queried.
percentDone
- Contains an estimated percentage complete of a job at the time the job status was queried.public String getPercentDone()
Contains an estimated percentage complete of a job at the time the job status was queried.
public BackupJob withPercentDone(String percentDone)
Contains an estimated percentage complete of a job at the time the job status was queried.
percentDone
- Contains an estimated percentage complete of a job at the time the job status was queried.public void setBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a backup.
backupSizeInBytes
- The size, in bytes, of a backup.public Long getBackupSizeInBytes()
The size, in bytes, of a backup.
public BackupJob withBackupSizeInBytes(Long backupSizeInBytes)
The size, in bytes, of a backup.
backupSizeInBytes
- The size, in bytes, of a backup.public void setIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default role must
include either AWSBackup
or AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without those strings lack permissions
to perform backup jobs.
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default role
must include either AWSBackup
or AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without those strings lack
permissions to perform backup jobs.public String getIamRoleArn()
Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default role must
include either AWSBackup
or AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without those strings lack permissions
to perform backup jobs.
AWSBackup
or AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without those strings lack
permissions to perform backup jobs.public BackupJob withIamRoleArn(String iamRoleArn)
Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default role must
include either AWSBackup
or AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without those strings lack permissions
to perform backup jobs.
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point. IAM roles other than the default role
must include either AWSBackup
or AwsBackup
in the role name. For example,
arn:aws:iam::123456789012:role/AWSBackupRDSAccess
. Role names without those strings lack
permissions to perform backup jobs.public void setCreatedBy(RecoveryPointCreator createdBy)
Contains identifying information about the creation of a backup job, including the BackupPlanArn
,
BackupPlanId
, BackupPlanVersion
, and BackupRuleId
of the backup plan used
to create it.
createdBy
- Contains identifying information about the creation of a backup job, including the
BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
BackupRuleId
of the backup plan used to create it.public RecoveryPointCreator getCreatedBy()
Contains identifying information about the creation of a backup job, including the BackupPlanArn
,
BackupPlanId
, BackupPlanVersion
, and BackupRuleId
of the backup plan used
to create it.
BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
BackupRuleId
of the backup plan used to create it.public BackupJob withCreatedBy(RecoveryPointCreator createdBy)
Contains identifying information about the creation of a backup job, including the BackupPlanArn
,
BackupPlanId
, BackupPlanVersion
, and BackupRuleId
of the backup plan used
to create it.
createdBy
- Contains identifying information about the creation of a backup job, including the
BackupPlanArn
, BackupPlanId
, BackupPlanVersion
, and
BackupRuleId
of the backup plan used to create it.public void setExpectedCompletionDate(Date expectedCompletionDate)
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC). The value of ExpectedCompletionDate
is accurate to milliseconds. For example,
the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
expectedCompletionDate
- The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC). The value of ExpectedCompletionDate
is accurate to milliseconds. For
example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public Date getExpectedCompletionDate()
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC). The value of ExpectedCompletionDate
is accurate to milliseconds. For example,
the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
ExpectedCompletionDate
is accurate to milliseconds. For
example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public BackupJob withExpectedCompletionDate(Date expectedCompletionDate)
The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC). The value of ExpectedCompletionDate
is accurate to milliseconds. For example,
the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
expectedCompletionDate
- The date and time a job to back up resources is expected to be completed, in Unix format and Coordinated
Universal Time (UTC). The value of ExpectedCompletionDate
is accurate to milliseconds. For
example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public void setStartBy(Date startBy)
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before
it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled
time were 6:00 PM and the start window is 2 hours, the StartBy
time would be 8:00 PM on the date
specified. The value of StartBy
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
startBy
- Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started
before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the
scheduled time were 6:00 PM and the start window is 2 hours, the StartBy
time would be 8:00
PM on the date specified. The value of StartBy
is accurate to milliseconds. For example, the
value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public Date getStartBy()
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before
it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled
time were 6:00 PM and the start window is 2 hours, the StartBy
time would be 8:00 PM on the date
specified. The value of StartBy
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
StartBy
time would be
8:00 PM on the date specified. The value of StartBy
is accurate to milliseconds. For
example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public BackupJob withStartBy(Date startBy)
Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started before
it is canceled. The value is calculated by adding the start window to the scheduled time. So if the scheduled
time were 6:00 PM and the start window is 2 hours, the StartBy
time would be 8:00 PM on the date
specified. The value of StartBy
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
startBy
- Specifies the time in Unix format and Coordinated Universal Time (UTC) when a backup job must be started
before it is canceled. The value is calculated by adding the start window to the scheduled time. So if the
scheduled time were 6:00 PM and the start window is 2 hours, the StartBy
time would be 8:00
PM on the date specified. The value of StartBy
is accurate to milliseconds. For example, the
value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public void setResourceType(String resourceType)
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
resourceType
- The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store
(Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume
Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.public String getResourceType()
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
public BackupJob withResourceType(String resourceType)
The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
resourceType
- The type of Amazon Web Services resource to be backed up; for example, an Amazon Elastic Block Store
(Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume
Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.public void setBytesTransferred(Long bytesTransferred)
The size in bytes transferred to a backup vault at the time that the job status was queried.
bytesTransferred
- The size in bytes transferred to a backup vault at the time that the job status was queried.public Long getBytesTransferred()
The size in bytes transferred to a backup vault at the time that the job status was queried.
public BackupJob withBytesTransferred(Long bytesTransferred)
The size in bytes transferred to a backup vault at the time that the job status was queried.
bytesTransferred
- The size in bytes transferred to a backup vault at the time that the job status was queried.public Map<String,String> getBackupOptions()
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup option and
create a Windows VSS backup. Set to "WindowsVSS":"disabled"
to create a regular backup. If you
specify an invalid option, you get an InvalidParameterValueException
exception.
Valid values: Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup
option and create a Windows VSS backup. Set to "WindowsVSS":"disabled"
to create a regular
backup. If you specify an invalid option, you get an InvalidParameterValueException
exception.
public void setBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup option and
create a Windows VSS backup. Set to "WindowsVSS":"disabled"
to create a regular backup. If you
specify an invalid option, you get an InvalidParameterValueException
exception.
backupOptions
- Specifies the backup option for a selected resource. This option is only available for Windows Volume
Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup
option and create a Windows VSS backup. Set to "WindowsVSS":"disabled"
to create a regular
backup. If you specify an invalid option, you get an InvalidParameterValueException
exception.
public BackupJob withBackupOptions(Map<String,String> backupOptions)
Specifies the backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup option and
create a Windows VSS backup. Set to "WindowsVSS":"disabled"
to create a regular backup. If you
specify an invalid option, you get an InvalidParameterValueException
exception.
backupOptions
- Specifies the backup option for a selected resource. This option is only available for Windows Volume
Shadow Copy Service (VSS) backup jobs.
Valid values: Set to "WindowsVSS":"enabled"
to enable the WindowsVSS
backup
option and create a Windows VSS backup. Set to "WindowsVSS":"disabled"
to create a regular
backup. If you specify an invalid option, you get an InvalidParameterValueException
exception.
public BackupJob addBackupOptionsEntry(String key, String value)
public BackupJob clearBackupOptionsEntries()
public void setBackupType(String backupType)
Represents the type of backup for a backup job.
backupType
- Represents the type of backup for a backup job.public String getBackupType()
Represents the type of backup for a backup job.
public BackupJob withBackupType(String backupType)
Represents the type of backup for a backup job.
backupType
- Represents the type of backup for a backup job.public void setParentJobId(String parentJobId)
This uniquely identifies a request to Backup to back up a resource. The return will be the parent (composite) job ID.
parentJobId
- This uniquely identifies a request to Backup to back up a resource. The return will be the parent
(composite) job ID.public String getParentJobId()
This uniquely identifies a request to Backup to back up a resource. The return will be the parent (composite) job ID.
public BackupJob withParentJobId(String parentJobId)
This uniquely identifies a request to Backup to back up a resource. The return will be the parent (composite) job ID.
parentJobId
- This uniquely identifies a request to Backup to back up a resource. The return will be the parent
(composite) job ID.public void setIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) backup job.
isParent
- This is a boolean value indicating this is a parent (composite) backup job.public Boolean getIsParent()
This is a boolean value indicating this is a parent (composite) backup job.
public BackupJob withIsParent(Boolean isParent)
This is a boolean value indicating this is a parent (composite) backup job.
isParent
- This is a boolean value indicating this is a parent (composite) backup job.public Boolean isParent()
This is a boolean value indicating this is a parent (composite) backup job.
public void setResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
resourceName
- This is the non-unique name of the resource that belongs to the specified backup.public String getResourceName()
This is the non-unique name of the resource that belongs to the specified backup.
public BackupJob withResourceName(String resourceName)
This is the non-unique name of the resource that belongs to the specified backup.
resourceName
- This is the non-unique name of the resource that belongs to the specified backup.public void setInitiationDate(Date initiationDate)
This is the date on which the backup job was initiated.
initiationDate
- This is the date on which the backup job was initiated.public Date getInitiationDate()
This is the date on which the backup job was initiated.
public BackupJob withInitiationDate(Date initiationDate)
This is the date on which the backup job was initiated.
initiationDate
- This is the date on which the backup job was initiated.public void setMessageCategory(String messageCategory)
This parameter is the job count for the specified message category.
Example strings may include AccessDenied
, SUCCESS
, AGGREGATE_ALL
, and
INVALIDPARAMETERS
. See Monitoring for a list of
MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
messageCategory
- This parameter is the job count for the specified message category.
Example strings may include AccessDenied
, SUCCESS
, AGGREGATE_ALL
,
and INVALIDPARAMETERS
. See Monitoring for a list of
MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
public String getMessageCategory()
This parameter is the job count for the specified message category.
Example strings may include AccessDenied
, SUCCESS
, AGGREGATE_ALL
, and
INVALIDPARAMETERS
. See Monitoring for a list of
MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
Example strings may include AccessDenied
, SUCCESS
, AGGREGATE_ALL
,
and INVALIDPARAMETERS
. See Monitoring for a list
of MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
public BackupJob withMessageCategory(String messageCategory)
This parameter is the job count for the specified message category.
Example strings may include AccessDenied
, SUCCESS
, AGGREGATE_ALL
, and
INVALIDPARAMETERS
. See Monitoring for a list of
MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
messageCategory
- This parameter is the job count for the specified message category.
Example strings may include AccessDenied
, SUCCESS
, AGGREGATE_ALL
,
and INVALIDPARAMETERS
. See Monitoring for a list of
MessageCategory strings.
The the value ANY returns count of all message categories.
AGGREGATE_ALL
aggregates job counts for all message categories and returns the sum.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.