@Generated(value="software.amazon.awssdk:codegen") public final class ProtectedResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProtectedResource.Builder,ProtectedResource>
A structure that contains information about a backed-up resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProtectedResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ProtectedResource.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 a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
|
String |
resourceArn()
An Amazon Resource Name (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; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an
Amazon Relational Database Service (Amazon RDS) database.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProtectedResource.Builder> |
serializableBuilderClass() |
ProtectedResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
An Amazon Resource Name (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; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
public final Instant lastBackupTime()
The date and time 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 ProtectedResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ProtectedResource.Builder,ProtectedResource>public static ProtectedResource.Builder builder()
public static Class<? extends ProtectedResource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.