* Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
* Rules
.
*
* Uniquely identifies a backup plan. *
*/ private String backupPlanId; /** *
* An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
* arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
*
* Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot * be edited. *
*/ private String versionId; /** ** A unique string that identifies the request and allows failed requests to be retried without the risk of running * the operation twice. *
*/ private String creatorRequestId; /** *
* The date and time that a backup plan 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.
*
* The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value
* of DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
*
* The last time a job to back up resources was run with this backup plan. A date and time, in Unix format and
* Coordinated Universal Time (UTC). The value of LastExecutionDate
is accurate to milliseconds. For
* example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*
* Contains a list of BackupOptions
for each resource type. The list is populated only if the advanced
* option is set for the backup plan.
*
* Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
* Rules
.
*
BackupPlanName
and one or more sets of
* Rules
.
*/
public void setBackupPlan(BackupPlan backupPlan) {
this.backupPlan = backupPlan;
}
/**
*
* Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
* Rules
.
*
BackupPlanName
and one or more sets of
* Rules
.
*/
public BackupPlan getBackupPlan() {
return this.backupPlan;
}
/**
*
* Specifies the body of a backup plan. Includes a BackupPlanName
and one or more sets of
* Rules
.
*
BackupPlanName
and one or more sets of
* Rules
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupPlanResult withBackupPlan(BackupPlan backupPlan) {
setBackupPlan(backupPlan);
return this;
}
/**
* * Uniquely identifies a backup plan. *
* * @param backupPlanId * Uniquely identifies a backup plan. */ public void setBackupPlanId(String backupPlanId) { this.backupPlanId = backupPlanId; } /** ** Uniquely identifies a backup plan. *
* * @return Uniquely identifies a backup plan. */ public String getBackupPlanId() { return this.backupPlanId; } /** ** Uniquely identifies a backup plan. *
* * @param backupPlanId * Uniquely identifies a backup plan. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBackupPlanResult withBackupPlanId(String backupPlanId) { setBackupPlanId(backupPlanId); return this; } /** *
* An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
* arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
*
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
*/
public void setBackupPlanArn(String backupPlanArn) {
this.backupPlanArn = backupPlanArn;
}
/**
*
* An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
* arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
*
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
*/
public String getBackupPlanArn() {
return this.backupPlanArn;
}
/**
*
* An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example,
* arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
*
arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupPlanResult withBackupPlanArn(String backupPlanArn) {
setBackupPlanArn(backupPlanArn);
return this;
}
/**
* * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot * be edited. *
* * @param versionId * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs * cannot be edited. */ public void setVersionId(String versionId) { this.versionId = versionId; } /** ** Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot * be edited. *
* * @return Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs * cannot be edited. */ public String getVersionId() { return this.versionId; } /** ** Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot * be edited. *
* * @param versionId * Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs * cannot be edited. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBackupPlanResult withVersionId(String versionId) { setVersionId(versionId); return this; } /** ** A unique string that identifies the request and allows failed requests to be retried without the risk of running * the operation twice. *
* * @param creatorRequestId * A unique string that identifies the request and allows failed requests to be retried without the risk of * running the operation twice. */ public void setCreatorRequestId(String creatorRequestId) { this.creatorRequestId = creatorRequestId; } /** ** A unique string that identifies the request and allows failed requests to be retried without the risk of running * the operation twice. *
* * @return A unique string that identifies the request and allows failed requests to be retried without the risk of * running the operation twice. */ public String getCreatorRequestId() { return this.creatorRequestId; } /** ** A unique string that identifies the request and allows failed requests to be retried without the risk of running * the operation twice. *
* * @param creatorRequestId * A unique string that identifies the request and allows failed requests to be retried without the risk of * running the operation twice. * @return Returns a reference to this object so that method calls can be chained together. */ public GetBackupPlanResult withCreatorRequestId(String creatorRequestId) { setCreatorRequestId(creatorRequestId); return this; } /** *
* The date and time that a backup plan 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 void setCreationDate(java.util.Date creationDate) {
this.creationDate = creationDate;
}
/**
*
* The date and time that a backup plan 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 java.util.Date getCreationDate() {
return this.creationDate;
}
/**
*
* The date and time that a backup plan 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupPlanResult withCreationDate(java.util.Date creationDate) {
setCreationDate(creationDate);
return this;
}
/**
*
* The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value
* of DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
*
DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public void setDeletionDate(java.util.Date deletionDate) {
this.deletionDate = deletionDate;
}
/**
*
* The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value
* of DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
*
DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public java.util.Date getDeletionDate() {
return this.deletionDate;
}
/**
*
* The date and time that a backup plan is deleted, in Unix format and Coordinated Universal Time (UTC). The value
* of DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
*
DeletionDate
is accurate to milliseconds. For example, the value 1516925490.087
* represents Friday, January 26, 2018 12:11:30.087 AM.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupPlanResult withDeletionDate(java.util.Date deletionDate) {
setDeletionDate(deletionDate);
return this;
}
/**
*
* The last time a job to back up resources was run with this backup plan. A date and time, in Unix format and
* Coordinated Universal Time (UTC). The value of LastExecutionDate
is accurate to milliseconds. For
* example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*
LastExecutionDate
is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public void setLastExecutionDate(java.util.Date lastExecutionDate) {
this.lastExecutionDate = lastExecutionDate;
}
/**
*
* The last time a job to back up resources was run with this backup plan. A date and time, in Unix format and
* Coordinated Universal Time (UTC). The value of LastExecutionDate
is accurate to milliseconds. For
* example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*
LastExecutionDate
is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*/
public java.util.Date getLastExecutionDate() {
return this.lastExecutionDate;
}
/**
*
* The last time a job to back up resources was run with this backup plan. A date and time, in Unix format and
* Coordinated Universal Time (UTC). The value of LastExecutionDate
is accurate to milliseconds. For
* example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
*
LastExecutionDate
is accurate to
* milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupPlanResult withLastExecutionDate(java.util.Date lastExecutionDate) {
setLastExecutionDate(lastExecutionDate);
return this;
}
/**
*
* Contains a list of BackupOptions
for each resource type. The list is populated only if the advanced
* option is set for the backup plan.
*
BackupOptions
for each resource type. The list is populated only if the
* advanced option is set for the backup plan.
*/
public java.util.List
* Contains a list of BackupOptions
for each resource type. The list is populated only if the advanced
* option is set for the backup plan.
*
BackupOptions
for each resource type. The list is populated only if the
* advanced option is set for the backup plan.
*/
public void setAdvancedBackupSettings(java.util.Collection
* Contains a list of BackupOptions
for each resource type. The list is populated only if the advanced
* option is set for the backup plan.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setAdvancedBackupSettings(java.util.Collection)} or * {@link #withAdvancedBackupSettings(java.util.Collection)} if you want to override the existing values. *
* * @param advancedBackupSettings * Contains a list ofBackupOptions
for each resource type. The list is populated only if the
* advanced option is set for the backup plan.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupPlanResult withAdvancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings) {
if (this.advancedBackupSettings == null) {
setAdvancedBackupSettings(new java.util.ArrayList
* Contains a list of BackupOptions
for each resource type. The list is populated only if the advanced
* option is set for the backup plan.
*
BackupOptions
for each resource type. The list is populated only if the
* advanced option is set for the backup plan.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetBackupPlanResult withAdvancedBackupSettings(java.util.Collection