@Generated(value="software.amazon.awssdk:codegen") public final class GetRecoveryPointRestoreMetadataResponse extends BackupResponse implements ToCopyableBuilder<GetRecoveryPointRestoreMetadataResponse.Builder,GetRecoveryPointRestoreMetadataResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetRecoveryPointRestoreMetadataResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
backupVaultArn()
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. |
static GetRecoveryPointRestoreMetadataResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRestoreMetadata()
For responses, this returns true if the service returned a value for the RestoreMetadata property.
|
String |
recoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. |
Map<String,String> |
restoreMetadata()
The set of metadata key-value pairs that describe the original configuration of the backed-up resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRecoveryPointRestoreMetadataResponse.Builder> |
serializableBuilderClass() |
GetRecoveryPointRestoreMetadataResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String backupVaultArn()
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.public final String recoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.public final boolean hasRestoreMetadata()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> restoreMetadata()
The set of metadata key-value pairs that describe the original configuration of the backed-up resource. These values vary depending on the service that is being restored.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRestoreMetadata() method.
public GetRecoveryPointRestoreMetadataResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRecoveryPointRestoreMetadataResponse.Builder,GetRecoveryPointRestoreMetadataResponse>toBuilder in class AwsResponsepublic static GetRecoveryPointRestoreMetadataResponse.Builder builder()
public static Class<? extends GetRecoveryPointRestoreMetadataResponse.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.