Class DescribeProtectedResourceResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.backup.model.BackupResponse
-
- software.amazon.awssdk.services.backup.model.DescribeProtectedResourceResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeProtectedResourceResponse extends BackupResponse implements ToCopyableBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeProtectedResourceResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeProtectedResourceResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastBackupTime()The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).StringlastBackupVaultArn()This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.StringlastRecoveryPointArn()This is the ARN (Amazon Resource Name) of the most recent recovery point.LonglatestRestoreExecutionTimeMinutes()This is the time in minutes the most recent restore job took to complete.InstantlatestRestoreJobCreationDate()This is the creation date of the most recent restore job.InstantlatestRestoreRecoveryPointCreationDate()This is the date the most recent recovery point was created.StringresourceArn()An ARN that uniquely identifies a resource.StringresourceName()This is the non-unique name of the resource that belongs to the specified backup.StringresourceType()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.backup.model.BackupResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceArn
public final String resourceArn()
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
- Returns:
- An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
-
resourceType
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.
- Returns:
- The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.
-
lastBackupTime
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
LastBackupTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time
(UTC). The value of
LastBackupTimeis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
resourceName
public final String resourceName()
This is the non-unique name of the resource that belongs to the specified backup.
- Returns:
- This is the non-unique name of the resource that belongs to the specified backup.
-
lastBackupVaultArn
public final String lastBackupVaultArn()
This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
- Returns:
- This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
-
lastRecoveryPointArn
public final String lastRecoveryPointArn()
This is the ARN (Amazon Resource Name) of the most recent recovery point.
- Returns:
- This is the ARN (Amazon Resource Name) of the most recent recovery point.
-
latestRestoreExecutionTimeMinutes
public final Long latestRestoreExecutionTimeMinutes()
This is the time in minutes the most recent restore job took to complete.
- Returns:
- This is the time in minutes the most recent restore job took to complete.
-
latestRestoreJobCreationDate
public final Instant latestRestoreJobCreationDate()
This is the creation date of the most recent restore job.
- Returns:
- This is the creation date of the most recent restore job.
-
latestRestoreRecoveryPointCreationDate
public final Instant latestRestoreRecoveryPointCreationDate()
This is the date the most recent recovery point was created.
- Returns:
- This is the date the most recent recovery point was created.
-
toBuilder
public DescribeProtectedResourceResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeProtectedResourceResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeProtectedResourceResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-