Interface PutNotificationSettingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutNotificationSettingsRequest.Builder,
,PutNotificationSettingsRequest> RolesAnywhereRequest.Builder
,SdkBuilder<PutNotificationSettingsRequest.Builder,
,PutNotificationSettingsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutNotificationSettingsRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereRequest.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 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.Builder
avoiding the need to create one manually viaNotificationSetting.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-