Interface AccountSettingsNotificationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountSettingsNotificationConfiguration.Builder,,AccountSettingsNotificationConfiguration> SdkBuilder<AccountSettingsNotificationConfiguration.Builder,,AccountSettingsNotificationConfiguration> SdkPojo
- Enclosing class:
AccountSettingsNotificationConfiguration
@Mutable
@NotThreadSafe
public static interface AccountSettingsNotificationConfiguration.Builder
extends SdkPojo, CopyableBuilder<AccountSettingsNotificationConfiguration.Builder,AccountSettingsNotificationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionAn Amazon Resource Name (ARN) that grants Timestream permission to publish notifications.snsConfiguration(Consumer<SnsConfiguration.Builder> snsConfiguration) Sets the value of the SnsConfiguration property for this object.snsConfiguration(SnsConfiguration snsConfiguration) Sets the value of the SnsConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
snsConfiguration
AccountSettingsNotificationConfiguration.Builder snsConfiguration(SnsConfiguration snsConfiguration) Sets the value of the SnsConfiguration property for this object.- Parameters:
snsConfiguration- The new value for the SnsConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snsConfiguration
default AccountSettingsNotificationConfiguration.Builder snsConfiguration(Consumer<SnsConfiguration.Builder> snsConfiguration) Sets the value of the SnsConfiguration property for this object. This is a convenience method that creates an instance of theSnsConfiguration.Builderavoiding the need to create one manually viaSnsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosnsConfiguration(SnsConfiguration).- Parameters:
snsConfiguration- a consumer that will call methods onSnsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
An Amazon Resource Name (ARN) that grants Timestream permission to publish notifications. This field is only visible if SNS Topic is provided when updating the account settings.
- Parameters:
roleArn- An Amazon Resource Name (ARN) that grants Timestream permission to publish notifications. This field is only visible if SNS Topic is provided when updating the account settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-