@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeProtectedResourceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeProtectedResourceResult() |
Modifier and Type | Method and Description |
---|---|
DescribeProtectedResourceResult |
clone() |
boolean |
equals(Object obj) |
Date |
getLastBackupTime()
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
|
String |
getResourceArn()
An ARN that uniquely identifies a resource.
|
String |
getResourceType()
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an
Amazon RDS database.
|
int |
hashCode() |
void |
setLastBackupTime(Date lastBackupTime)
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
|
void |
setResourceArn(String resourceArn)
An ARN that uniquely identifies a resource.
|
void |
setResourceType(String resourceType)
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an
Amazon RDS database.
|
String |
toString()
Returns a string representation of this object.
|
DescribeProtectedResourceResult |
withLastBackupTime(Date lastBackupTime)
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
|
DescribeProtectedResourceResult |
withResourceArn(String resourceArn)
An ARN that uniquely identifies a resource.
|
DescribeProtectedResourceResult |
withResourceType(String resourceType)
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an
Amazon RDS database.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeProtectedResourceResult 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 setResourceType(String resourceType)
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.
resourceType
- The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or
an Amazon RDS database.public String getResourceType()
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.
public DescribeProtectedResourceResult withResourceType(String resourceType)
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.
resourceType
- The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or
an Amazon RDS database.public void setLastBackupTime(Date lastBackupTime)
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The
value of LastBackupTime
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
lastBackupTime
- The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
The value of LastBackupTime
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public Date getLastBackupTime()
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The
value of LastBackupTime
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
LastBackupTime
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public DescribeProtectedResourceResult withLastBackupTime(Date lastBackupTime)
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The
value of LastBackupTime
is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
lastBackupTime
- The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
The value of LastBackupTime
is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public String toString()
toString
in class Object
Object.toString()
public DescribeProtectedResourceResult clone()