@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsBackupBackupPlanDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about an Backup backup plan and an array of BackupRule
objects, each of which specifies
a backup rule.
Constructor and Description |
---|
AwsBackupBackupPlanDetails() |
Modifier and Type | Method and Description |
---|---|
AwsBackupBackupPlanDetails |
clone() |
boolean |
equals(Object obj) |
AwsBackupBackupPlanBackupPlanDetails |
getBackupPlan()
Uniquely identifies the backup plan to be associated with the selection of resources.
|
String |
getBackupPlanArn()
An Amazon Resource Name (ARN) that uniquely identifies the backup plan.
|
String |
getBackupPlanId()
A unique ID for the backup plan.
|
String |
getVersionId()
Unique, randomly generated, Unicode, UTF-8 encoded strings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBackupPlan(AwsBackupBackupPlanBackupPlanDetails backupPlan)
Uniquely identifies the backup plan to be associated with the selection of resources.
|
void |
setBackupPlanArn(String backupPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies the backup plan.
|
void |
setBackupPlanId(String backupPlanId)
A unique ID for the backup plan.
|
void |
setVersionId(String versionId)
Unique, randomly generated, Unicode, UTF-8 encoded strings.
|
String |
toString()
Returns a string representation of this object.
|
AwsBackupBackupPlanDetails |
withBackupPlan(AwsBackupBackupPlanBackupPlanDetails backupPlan)
Uniquely identifies the backup plan to be associated with the selection of resources.
|
AwsBackupBackupPlanDetails |
withBackupPlanArn(String backupPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies the backup plan.
|
AwsBackupBackupPlanDetails |
withBackupPlanId(String backupPlanId)
A unique ID for the backup plan.
|
AwsBackupBackupPlanDetails |
withVersionId(String versionId)
Unique, randomly generated, Unicode, UTF-8 encoded strings.
|
public void setBackupPlan(AwsBackupBackupPlanBackupPlanDetails backupPlan)
Uniquely identifies the backup plan to be associated with the selection of resources.
backupPlan
- Uniquely identifies the backup plan to be associated with the selection of resources.public AwsBackupBackupPlanBackupPlanDetails getBackupPlan()
Uniquely identifies the backup plan to be associated with the selection of resources.
public AwsBackupBackupPlanDetails withBackupPlan(AwsBackupBackupPlanBackupPlanDetails backupPlan)
Uniquely identifies the backup plan to be associated with the selection of resources.
backupPlan
- Uniquely identifies the backup plan to be associated with the selection of resources.public void setBackupPlanArn(String backupPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies the backup plan.
backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies the backup plan.public String getBackupPlanArn()
An Amazon Resource Name (ARN) that uniquely identifies the backup plan.
public AwsBackupBackupPlanDetails withBackupPlanArn(String backupPlanArn)
An Amazon Resource Name (ARN) that uniquely identifies the backup plan.
backupPlanArn
- An Amazon Resource Name (ARN) that uniquely identifies the backup plan.public void setBackupPlanId(String backupPlanId)
A unique ID for the backup plan.
backupPlanId
- A unique ID for the backup plan.public String getBackupPlanId()
A unique ID for the backup plan.
public AwsBackupBackupPlanDetails withBackupPlanId(String backupPlanId)
A unique ID for the backup plan.
backupPlanId
- A unique ID for the backup plan.public void setVersionId(String versionId)
Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot be edited.
versionId
- Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot be edited.public String getVersionId()
Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot be edited.
public AwsBackupBackupPlanDetails withVersionId(String versionId)
Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot be edited.
versionId
- Unique, randomly generated, Unicode, UTF-8 encoded strings. Version IDs cannot be edited.public String toString()
toString
in class Object
Object.toString()
public AwsBackupBackupPlanDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.