Interface GetVaultNotificationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVaultNotificationsResponse.Builder,,GetVaultNotificationsResponse> GlacierResponse.Builder,SdkBuilder<GetVaultNotificationsResponse.Builder,,GetVaultNotificationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetVaultNotificationsResponse
public static interface GetVaultNotificationsResponse.Builder
extends GlacierResponse.Builder, SdkPojo, CopyableBuilder<GetVaultNotificationsResponse.Builder,GetVaultNotificationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionvaultNotificationConfig(Consumer<VaultNotificationConfig.Builder> vaultNotificationConfig) Returns the notification configuration set on the vault.vaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig) Returns the notification configuration set on the vault.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
vaultNotificationConfig
GetVaultNotificationsResponse.Builder vaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig) Returns the notification configuration set on the vault.
- Parameters:
vaultNotificationConfig- Returns the notification configuration set on the vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultNotificationConfig
default GetVaultNotificationsResponse.Builder vaultNotificationConfig(Consumer<VaultNotificationConfig.Builder> vaultNotificationConfig) Returns the notification configuration set on the vault.
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:
-