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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetVaultNotificationsResponse.BuildervaultNotificationConfig(Consumer<VaultNotificationConfig.Builder> vaultNotificationConfig)Returns the notification configuration set on the vault.GetVaultNotificationsResponse.BuildervaultNotificationConfig(VaultNotificationConfig vaultNotificationConfig)Returns the notification configuration set on the vault.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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:
vaultNotificationConfig(VaultNotificationConfig)
-
-