public static interface SetVaultNotificationsRequest.Builder extends GlacierRequest.Builder, CopyableBuilder<SetVaultNotificationsRequest.Builder,SetVaultNotificationsRequest>
build
overrideConfiguration
copy
applyMutation, build
SetVaultNotificationsRequest.Builder accountId(String accountId)
The AccountId
value is the AWS account ID of the account that owns the vault. You can either
specify an AWS account ID or optionally a single '-
' (hyphen), in which case Amazon Glacier uses
the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not
include any hyphens ('-') in the ID.
accountId
- The AccountId
value is the AWS account ID of the account that owns the vault. You can
either specify an AWS account ID or optionally a single '-
' (hyphen), in which case
Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If
you use an account ID, do not include any hyphens ('-') in the ID.SetVaultNotificationsRequest.Builder vaultName(String vaultName)
The name of the vault.
vaultName
- The name of the vault.SetVaultNotificationsRequest.Builder vaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)
Provides options for specifying notification configuration.
vaultNotificationConfig
- Provides options for specifying notification configuration.default SetVaultNotificationsRequest.Builder vaultNotificationConfig(Consumer<VaultNotificationConfig.Builder> vaultNotificationConfig)
Provides options for specifying notification configuration.
This is a convenience that creates an instance of theVaultNotificationConfig.Builder
avoiding the
need to create one manually via VaultNotificationConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to vaultNotificationConfig(VaultNotificationConfig)
.vaultNotificationConfig
- a consumer that will call methods on VaultNotificationConfig.Builder
vaultNotificationConfig(VaultNotificationConfig)
SetVaultNotificationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetVaultNotificationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.