@Generated(value="software.amazon.awssdk:codegen") public final class CreateVaultRequest extends GlacierRequest implements ToCopyableBuilder<CreateVaultRequest.Builder,CreateVaultRequest>
Provides options to create a vault.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateVaultRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The
AccountId value is the AWS account ID. |
static CreateVaultRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVaultRequest.Builder> |
serializableBuilderClass() |
CreateVaultRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vaultName()
The name of the vault.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The AccountId value is the AWS account ID. This value must match the AWS account ID associated with
the credentials used to sign the request. You can either specify an AWS account ID or optionally a single '
-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials
used to sign the request. If you specify your account ID, do not include any hyphens ('-') in the ID.
AccountId value is the AWS account ID. This value must match the AWS account ID
associated with the credentials used to sign the request. You can either specify an AWS account ID or
optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID
associated with the credentials used to sign the request. If you specify your account ID, do not include
any hyphens ('-') in the ID.public final String vaultName()
The name of the vault.
public CreateVaultRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateVaultRequest.Builder,CreateVaultRequest>toBuilder in class GlacierRequestpublic static CreateVaultRequest.Builder builder()
public static Class<? extends CreateVaultRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2023. All rights reserved.