Interface UnsubscribeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodestarNotificationsRequest.Builder
,CopyableBuilder<UnsubscribeRequest.Builder,
,UnsubscribeRequest> SdkBuilder<UnsubscribeRequest.Builder,
,UnsubscribeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UnsubscribeRequest
public static interface UnsubscribeRequest.Builder
extends CodestarNotificationsRequest.Builder, SdkPojo, CopyableBuilder<UnsubscribeRequest.Builder,UnsubscribeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the notification rule.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetAddress
(String targetAddress) The ARN of the Chatbot topic to unsubscribe from the notification rule.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the notification rule.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetAddress
The ARN of the Chatbot topic to unsubscribe from the notification rule.
- Parameters:
targetAddress
- The ARN of the Chatbot topic to unsubscribe from the notification rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UnsubscribeRequest.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
UnsubscribeRequest.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.
-