@Generated(value="software.amazon.awssdk:codegen") public final class DescribeProtectedResourceResponse extends BackupResponse implements ToCopyableBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeProtectedResourceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeProtectedResourceResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastBackupTime()
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
|
String |
resourceArn()
An ARN that uniquely identifies a resource.
|
String |
resourceName()
This is the non-unique name of the resource that belongs to the specified backup.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeProtectedResourceResponse.Builder> |
serializableBuilderClass() |
DescribeProtectedResourceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
public final 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.
public final Instant 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 is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public final String resourceName()
This is the non-unique name of the resource that belongs to the specified backup.
public DescribeProtectedResourceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>toBuilder in class AwsResponsepublic static DescribeProtectedResourceResponse.Builder builder()
public static Class<? extends DescribeProtectedResourceResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.