public static interface SetVaultNotificationsRequest.Builder extends GlacierRequest.Builder, CopyableBuilder<SetVaultNotificationsRequest.Builder,SetVaultNotificationsRequest>
Modifier and Type | Method and Description |
---|---|
SetVaultNotificationsRequest.Builder |
accountId(String accountId)
The
AccountId value is the AWS account ID of the account that owns the vault. |
SetVaultNotificationsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SetVaultNotificationsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
SetVaultNotificationsRequest.Builder |
vaultName(String vaultName)
The name of the vault.
|
default SetVaultNotificationsRequest.Builder |
vaultNotificationConfig(Consumer<VaultNotificationConfig.Builder> vaultNotificationConfig)
Provides options for specifying notification configuration.
|
SetVaultNotificationsRequest.Builder |
vaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)
Provides options for specifying notification configuration.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.SetVaultNotificationsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.