Interface SubscribeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodestarNotificationsRequest.Builder,CopyableBuilder<SubscribeRequest.Builder,,SubscribeRequest> SdkBuilder<SubscribeRequest.Builder,,SubscribeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SubscribeRequest
public static interface SubscribeRequest.Builder
extends CodestarNotificationsRequest.Builder, SdkPojo, CopyableBuilder<SubscribeRequest.Builder,SubscribeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the notification rule for which you want to create the association.clientRequestToken(String clientRequestToken) An enumeration token that, when provided in a request, returns the next batch of the results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default SubscribeRequest.Buildertarget(Consumer<Target.Builder> target) Sets the value of the Target property for this object.Sets the value of the Target property for this object.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codestarnotifications.model.CodestarNotificationsRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.
- Parameters:
arn- The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Sets the value of the Target property for this object.- Parameters:
target- The new value for the Target property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
Sets the value of the Target property for this object. This is a convenience method that creates an instance of theTarget.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(Target).- Parameters:
target- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
An enumeration token that, when provided in a request, returns the next batch of the results.
- Parameters:
clientRequestToken- An enumeration token that, when provided in a request, returns the next batch of the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SubscribeRequest.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
SubscribeRequest.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.
-