Class CreateLogicallyAirGappedBackupVaultResponse
- 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.CreateLogicallyAirGappedBackupVaultResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateLogicallyAirGappedBackupVaultResponse.Builder,CreateLogicallyAirGappedBackupVaultResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateLogicallyAirGappedBackupVaultResponse extends BackupResponse implements ToCopyableBuilder<CreateLogicallyAirGappedBackupVaultResponse.Builder,CreateLogicallyAirGappedBackupVaultResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateLogicallyAirGappedBackupVaultResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbackupVaultArn()This is the ARN (Amazon Resource Name) of the vault being created.StringbackupVaultName()The name of a logical container where backups are stored.static CreateLogicallyAirGappedBackupVaultResponse.Builderbuilder()InstantcreationDate()The date and time when the vault was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CreateLogicallyAirGappedBackupVaultResponse.Builder>serializableBuilderClass()CreateLogicallyAirGappedBackupVaultResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.VaultStatevaultState()This is the current state of the vault.StringvaultStateAsString()This is the current state of the vault.-
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
-
backupVaultName
public final String backupVaultName()
The name of a logical container where backups are stored. Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- Returns:
- The name of a logical container where backups are stored. Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created. They consist of lowercase letters, numbers, and hyphens.
-
backupVaultArn
public final String backupVaultArn()
This is the ARN (Amazon Resource Name) of the vault being created.
- Returns:
- This is the ARN (Amazon Resource Name) of the vault being created.
-
creationDate
public final Instant creationDate()
The date and time when the vault was created.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
- Returns:
- The date and time when the vault was created.
This value is in Unix format, Coordinated Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
vaultState
public final VaultState vaultState()
This is the current state of the vault.
If the service returns an enum value that is not available in the current SDK version,
vaultStatewill returnVaultState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvaultStateAsString().- Returns:
- This is the current state of the vault.
- See Also:
VaultState
-
vaultStateAsString
public final String vaultStateAsString()
This is the current state of the vault.
If the service returns an enum value that is not available in the current SDK version,
vaultStatewill returnVaultState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvaultStateAsString().- Returns:
- This is the current state of the vault.
- See Also:
VaultState
-
toBuilder
public CreateLogicallyAirGappedBackupVaultResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateLogicallyAirGappedBackupVaultResponse.Builder,CreateLogicallyAirGappedBackupVaultResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateLogicallyAirGappedBackupVaultResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateLogicallyAirGappedBackupVaultResponse.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
-
-