Interface SetVaultNotificationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetVaultNotificationsRequest.Builder,SetVaultNotificationsRequest>,GlacierRequest.Builder,SdkBuilder<SetVaultNotificationsRequest.Builder,SetVaultNotificationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- SetVaultNotificationsRequest
public static interface SetVaultNotificationsRequest.Builder extends GlacierRequest.Builder, SdkPojo, CopyableBuilder<SetVaultNotificationsRequest.Builder,SetVaultNotificationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SetVaultNotificationsRequest.BuilderaccountId(String accountId)TheAccountIdvalue is the AWS account ID of the account that owns the vault.SetVaultNotificationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetVaultNotificationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)SetVaultNotificationsRequest.BuildervaultName(String vaultName)The name of the vault.default SetVaultNotificationsRequest.BuildervaultNotificationConfig(Consumer<VaultNotificationConfig.Builder> vaultNotificationConfig)Provides options for specifying notification configuration.SetVaultNotificationsRequest.BuildervaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)Provides options for specifying notification configuration.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
SetVaultNotificationsRequest.Builder accountId(String accountId)
The
AccountIdvalue 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 S3 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.- Parameters:
accountId- TheAccountIdvalue 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 S3 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultName
SetVaultNotificationsRequest.Builder vaultName(String vaultName)
The name of the vault.
- Parameters:
vaultName- The name of the vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultNotificationConfig
SetVaultNotificationsRequest.Builder vaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)
Provides options for specifying notification configuration.
- Parameters:
vaultNotificationConfig- Provides options for specifying notification configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultNotificationConfig
default SetVaultNotificationsRequest.Builder vaultNotificationConfig(Consumer<VaultNotificationConfig.Builder> vaultNotificationConfig)
Provides options for specifying notification configuration.
This is a convenience method that creates an instance of theVaultNotificationConfig.Builderavoiding the need to create one manually viaVaultNotificationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovaultNotificationConfig(VaultNotificationConfig).- Parameters:
vaultNotificationConfig- a consumer that will call methods onVaultNotificationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vaultNotificationConfig(VaultNotificationConfig)
-
overrideConfiguration
SetVaultNotificationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetVaultNotificationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-