Interface PutNotificationSettingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutNotificationSettingsRequest.Builder,,PutNotificationSettingsRequest> RolesAnywhereRequest.Builder,SdkBuilder<PutNotificationSettingsRequest.Builder,,PutNotificationSettingsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutNotificationSettingsRequest
public static interface PutNotificationSettingsRequest.Builder
extends RolesAnywhereRequest.Builder, SdkPojo, CopyableBuilder<PutNotificationSettingsRequest.Builder,PutNotificationSettingsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionnotificationSettings(Collection<NotificationSetting> notificationSettings) A list of notification settings to be associated to the trust anchor.notificationSettings(Consumer<NotificationSetting.Builder>... notificationSettings) A list of notification settings to be associated to the trust anchor.notificationSettings(NotificationSetting... notificationSettings) A list of notification settings to be associated to the trust anchor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.trustAnchorId(String trustAnchorId) The unique identifier of the trust anchor.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
notificationSettings
PutNotificationSettingsRequest.Builder notificationSettings(Collection<NotificationSetting> notificationSettings) A list of notification settings to be associated to the trust anchor.
- Parameters:
notificationSettings- A list of notification settings to be associated to the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSettings
PutNotificationSettingsRequest.Builder notificationSettings(NotificationSetting... notificationSettings) A list of notification settings to be associated to the trust anchor.
- Parameters:
notificationSettings- A list of notification settings to be associated to the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationSettings
PutNotificationSettingsRequest.Builder notificationSettings(Consumer<NotificationSetting.Builder>... notificationSettings) A list of notification settings to be associated to the trust anchor.
This is a convenience method that creates an instance of theNotificationSetting.Builderavoiding the need to create one manually viaNotificationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotificationSettings(List<NotificationSetting>).- Parameters:
notificationSettings- a consumer that will call methods onNotificationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
trustAnchorId
The unique identifier of the trust anchor.
- Parameters:
trustAnchorId- The unique identifier of the trust anchor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutNotificationSettingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutNotificationSettingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-