Interface CreateSubscriberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSubscriberRequest.Builder,,CreateSubscriberRequest> EventBridgeV2Request.Builder,SdkBuilder<CreateSubscriberRequest.Builder,,CreateSubscriberRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSubscriberRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateSubscriberRequest.BuilderbatchConfiguration(Consumer<BatchConfiguration.Builder> batchConfiguration) Sets the value of the BatchConfiguration property for this object.batchConfiguration(BatchConfiguration batchConfiguration) Sets the value of the BatchConfiguration property for this object.clientToken(String clientToken) Sets the value of the ClientToken property for this object.description(String description) Sets the value of the Description property for this object.eventBusArn(String eventBusArn) Sets the value of the EventBusArn property for this object.default CreateSubscriberRequest.BuilderfilterConfiguration(Consumer<FilterConfiguration.Builder> filterConfiguration) Sets the value of the FilterConfiguration property for this object.filterConfiguration(FilterConfiguration filterConfiguration) Sets the value of the FilterConfiguration property for this object.default CreateSubscriberRequest.BuilderinvokeConfiguration(Consumer<InvokeConfiguration.Builder> invokeConfiguration) Sets the value of the InvokeConfiguration property for this object.invokeConfiguration(InvokeConfiguration invokeConfiguration) Sets the value of the InvokeConfiguration property for this object.default CreateSubscriberRequest.BuilderlogConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) Sets the value of the LogConfiguration property for this object.logConfiguration(LogConfiguration logConfiguration) Sets the value of the LogConfiguration property for this object.Sets the value of the Name property for this object.default CreateSubscriberRequest.BuilderonFailureConfiguration(Consumer<OnFailureConfiguration.Builder> onFailureConfiguration) Sets the value of the OnFailureConfiguration property for this object.onFailureConfiguration(OnFailureConfiguration onFailureConfiguration) Sets the value of the OnFailureConfiguration property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateSubscriberRequest.BuilderpointInTimeConfiguration(Consumer<PointInTimeConfiguration.Builder> pointInTimeConfiguration) Sets the value of the PointInTimeConfiguration property for this object.pointInTimeConfiguration(PointInTimeConfiguration pointInTimeConfiguration) Sets the value of the PointInTimeConfiguration property for this object.default CreateSubscriberRequest.BuilderretryPolicy(Consumer<RetryPolicy.Builder> retryPolicy) Sets the value of the RetryPolicy property for this object.retryPolicy(RetryPolicy retryPolicy) Sets the value of the RetryPolicy property for this object.startingPosition(String startingPosition) Sets the value of the StartingPosition property for this object.startingPosition(StartingPosition startingPosition) Sets the value of the StartingPosition property for this object.Sets the value of the State property for this object.state(SubscriberState state) Sets the value of the State property for this object.Sets the value of the Tags property for this object.default CreateSubscriberRequest.Buildertransformer(Consumer<Transformer.Builder> transformer) Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.transformer(Transformer transformer) Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.Sets the value of the Type property for this object.type(OrderingType type) Sets the value of the Type property for this object.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.eventbridgev2.model.EventBridgeV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Sets the value of the Name property for this object.- Parameters:
name- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusArn
Sets the value of the EventBusArn property for this object.- Parameters:
eventBusArn- The new value for the EventBusArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokeConfiguration
Sets the value of the InvokeConfiguration property for this object.- Parameters:
invokeConfiguration- The new value for the InvokeConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokeConfiguration
default CreateSubscriberRequest.Builder invokeConfiguration(Consumer<InvokeConfiguration.Builder> invokeConfiguration) Sets the value of the InvokeConfiguration property for this object. This is a convenience method that creates an instance of theInvokeConfiguration.Builderavoiding the need to create one manually viaInvokeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvokeConfiguration(InvokeConfiguration).- Parameters:
invokeConfiguration- a consumer that will call methods onInvokeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterConfiguration
Sets the value of the FilterConfiguration property for this object.- Parameters:
filterConfiguration- The new value for the FilterConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterConfiguration
default CreateSubscriberRequest.Builder filterConfiguration(Consumer<FilterConfiguration.Builder> filterConfiguration) Sets the value of the FilterConfiguration property for this object. This is a convenience method that creates an instance of theFilterConfiguration.Builderavoiding the need to create one manually viaFilterConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterConfiguration(FilterConfiguration).- Parameters:
filterConfiguration- a consumer that will call methods onFilterConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startingPosition
Sets the value of the StartingPosition property for this object.- Parameters:
startingPosition- The new value for the StartingPosition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startingPosition
Sets the value of the StartingPosition property for this object.- Parameters:
startingPosition- The new value for the StartingPosition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pointInTimeConfiguration
CreateSubscriberRequest.Builder pointInTimeConfiguration(PointInTimeConfiguration pointInTimeConfiguration) Sets the value of the PointInTimeConfiguration property for this object.- Parameters:
pointInTimeConfiguration- The new value for the PointInTimeConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pointInTimeConfiguration
default CreateSubscriberRequest.Builder pointInTimeConfiguration(Consumer<PointInTimeConfiguration.Builder> pointInTimeConfiguration) Sets the value of the PointInTimeConfiguration property for this object. This is a convenience method that creates an instance of thePointInTimeConfiguration.Builderavoiding the need to create one manually viaPointInTimeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topointInTimeConfiguration(PointInTimeConfiguration).- Parameters:
pointInTimeConfiguration- a consumer that will call methods onPointInTimeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
batchConfiguration
Sets the value of the BatchConfiguration property for this object.- Parameters:
batchConfiguration- The new value for the BatchConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchConfiguration
default CreateSubscriberRequest.Builder batchConfiguration(Consumer<BatchConfiguration.Builder> batchConfiguration) Sets the value of the BatchConfiguration property for this object. This is a convenience method that creates an instance of theBatchConfiguration.Builderavoiding the need to create one manually viaBatchConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobatchConfiguration(BatchConfiguration).- Parameters:
batchConfiguration- a consumer that will call methods onBatchConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transformer
Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.
- Parameters:
transformer- Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformer
Not applicable to universal (aws-sdk) targets, whose input transformation is UniversalTargetParameters.Input; a Transformer on such a target is rejected.
This is a convenience method that creates an instance of theTransformer.Builderavoiding the need to create one manually viaTransformer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransformer(Transformer).- Parameters:
transformer- a consumer that will call methods onTransformer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retryPolicy
Sets the value of the RetryPolicy property for this object.- Parameters:
retryPolicy- The new value for the RetryPolicy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicy
Sets the value of the RetryPolicy property for this object. This is a convenience method that creates an instance of theRetryPolicy.Builderavoiding the need to create one manually viaRetryPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretryPolicy(RetryPolicy).- Parameters:
retryPolicy- a consumer that will call methods onRetryPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onFailureConfiguration
CreateSubscriberRequest.Builder onFailureConfiguration(OnFailureConfiguration onFailureConfiguration) Sets the value of the OnFailureConfiguration property for this object.- Parameters:
onFailureConfiguration- The new value for the OnFailureConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onFailureConfiguration
default CreateSubscriberRequest.Builder onFailureConfiguration(Consumer<OnFailureConfiguration.Builder> onFailureConfiguration) Sets the value of the OnFailureConfiguration property for this object. This is a convenience method that creates an instance of theOnFailureConfiguration.Builderavoiding the need to create one manually viaOnFailureConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonFailureConfiguration(OnFailureConfiguration).- Parameters:
onFailureConfiguration- a consumer that will call methods onOnFailureConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logConfiguration
Sets the value of the LogConfiguration property for this object.- Parameters:
logConfiguration- The new value for the LogConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default CreateSubscriberRequest.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) Sets the value of the LogConfiguration property for this object. This is a convenience method that creates an instance of theLogConfiguration.Builderavoiding the need to create one manually viaLogConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologConfiguration(LogConfiguration).- Parameters:
logConfiguration- a consumer that will call methods onLogConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Sets the value of the State property for this object.- Parameters:
state- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Sets the value of the State property for this object.- Parameters:
state- The new value for the State property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Sets the value of the ClientToken property for this object.- Parameters:
clientToken- The new value for the ClientToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSubscriberRequest.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
CreateSubscriberRequest.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.
-