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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SubscribeRequest.Builderarn(String arn)The Amazon Resource Name (ARN) of the notification rule for which you want to create the association.SubscribeRequest.BuilderclientRequestToken(String clientRequestToken)An enumeration token that, when provided in a request, returns the next batch of the results.SubscribeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SubscribeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default SubscribeRequest.Buildertarget(Consumer<Target.Builder> target)Sets the value of the Target property for this object.SubscribeRequest.Buildertarget(Target target)Sets the value of the Target property for this object.-
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 Detail
-
arn
SubscribeRequest.Builder arn(String 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
SubscribeRequest.Builder target(Target 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
default SubscribeRequest.Builder target(Consumer<Target.Builder> 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:
target(Target)
-
clientRequestToken
SubscribeRequest.Builder clientRequestToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SubscribeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-