Interface UpdateSubscriberRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSubscriberRequest.Builder,,UpdateSubscriberRequest> EventBridgeV2Request.Builder,SdkBuilder<UpdateSubscriberRequest.Builder,,UpdateSubscriberRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSubscriberRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateSubscriberRequest.BuilderbatchConfiguration(Consumer<BatchConfiguration.Builder> batchConfiguration) Batching configuration for a subscriber.batchConfiguration(BatchConfiguration batchConfiguration) Batching configuration for a subscriber.description(String description) Free-text description.default UpdateSubscriberRequest.BuilderfilterConfiguration(Consumer<FilterConfiguration.Builder> filterConfiguration) Configuration for filtering events delivered to a subscriber.filterConfiguration(FilterConfiguration filterConfiguration) Configuration for filtering events delivered to a subscriber.default UpdateSubscriberRequest.BuilderinvokeConfiguration(Consumer<UpdateInvokeConfiguration.Builder> invokeConfiguration) Update-able configuration for how the subscriber invokes its target.invokeConfiguration(UpdateInvokeConfiguration invokeConfiguration) Update-able configuration for how the subscriber invokes its target.default UpdateSubscriberRequest.BuilderlogConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) Log configuration for a subscriber.logConfiguration(LogConfiguration logConfiguration) Log configuration for a subscriber.default UpdateSubscriberRequest.BuilderonFailureConfiguration(Consumer<OnFailureConfiguration.Builder> onFailureConfiguration) On-failure configuration: where a failed delivery is sent.onFailureConfiguration(OnFailureConfiguration onFailureConfiguration) On-failure configuration: where a failed delivery is sent.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resumePosition(String resumePosition) Position from which delivery resumes when a subscriber is unpaused.resumePosition(ResumePosition resumePosition) Position from which delivery resumes when a subscriber is unpaused.default UpdateSubscriberRequest.BuilderretryPolicy(Consumer<RetryPolicy.Builder> retryPolicy) Retry policy for a subscriber.retryPolicy(RetryPolicy retryPolicy) Retry policy for a subscriber.Customer-controlled run state of a subscriber, set on create or update.state(SubscriberState state) Customer-controlled run state of a subscriber, set on create or update.subscriberArn(String subscriberArn) The Amazon Resource Name (ARN) that uniquely identifies a subscriber.default UpdateSubscriberRequest.Buildertransformer(Consumer<Transformer.Builder> transformer) Transformer configuration for a subscriber.transformer(Transformer transformer) Transformer configuration for a subscriber.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
-
subscriberArn
The Amazon Resource Name (ARN) that uniquely identifies a subscriber.
- Parameters:
subscriberArn- The Amazon Resource Name (ARN) that uniquely identifies a subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.
- Parameters:
description- Free-text description. Used by every resource type that has one: event buses, subscribers, and event sources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.
- Parameters:
state- Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.
- Parameters:
state- Customer-controlled run state of a subscriber, set on create or update. Distinct from the bus lifecycle vocabulary, where ACTIVE means "provisioned and healthy". Delivery requires State RUNNING on a subscriber that is not revoked.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resumePosition
Position from which delivery resumes when a subscriber is unpaused. Honored only on an UpdateSubscriber call that transitions State from STOPPED to RUNNING (unpause); ignored on any other call and not accepted on Create. Defaults to LAST_PROCESSED when omitted.
- Parameters:
resumePosition- Position from which delivery resumes when a subscriber is unpaused. Honored only on an UpdateSubscriber call that transitions State from STOPPED to RUNNING (unpause); ignored on any other call and not accepted on Create. Defaults to LAST_PROCESSED when omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resumePosition
Position from which delivery resumes when a subscriber is unpaused. Honored only on an UpdateSubscriber call that transitions State from STOPPED to RUNNING (unpause); ignored on any other call and not accepted on Create. Defaults to LAST_PROCESSED when omitted.
- Parameters:
resumePosition- Position from which delivery resumes when a subscriber is unpaused. Honored only on an UpdateSubscriber call that transitions State from STOPPED to RUNNING (unpause); ignored on any other call and not accepted on Create. Defaults to LAST_PROCESSED when omitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
invokeConfiguration
Update-able configuration for how the subscriber invokes its target.
- Parameters:
invokeConfiguration- Update-able configuration for how the subscriber invokes its target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invokeConfiguration
default UpdateSubscriberRequest.Builder invokeConfiguration(Consumer<UpdateInvokeConfiguration.Builder> invokeConfiguration) Update-able configuration for how the subscriber invokes its target.
This is a convenience method that creates an instance of theUpdateInvokeConfiguration.Builderavoiding the need to create one manually viaUpdateInvokeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinvokeConfiguration(UpdateInvokeConfiguration).- Parameters:
invokeConfiguration- a consumer that will call methods onUpdateInvokeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterConfiguration
Configuration for filtering events delivered to a subscriber. On CreateSubscriber, Filters is required and must contain at least one Filter with a non-empty Pattern. On UpdateSubscriber, an empty
FilterConfiguration:{}clears the existing filter. Any non-empty shape (including{Language:X}without Filters) must contain a valid Filters list — same contract as CreateSubscriber. A non-empty Filters list overwrites; an omitted FilterConfiguration preserves existing state. All Filters are implicitly ANDed — an event must match every Filter to be delivered.- Parameters:
filterConfiguration- Configuration for filtering events delivered to a subscriber. On CreateSubscriber, Filters is required and must contain at least one Filter with a non-empty Pattern. On UpdateSubscriber, an emptyFilterConfiguration:{}clears the existing filter. Any non-empty shape (including{Language:X}without Filters) must contain a valid Filters list — same contract as CreateSubscriber. A non-empty Filters list overwrites; an omitted FilterConfiguration preserves existing state. All Filters are implicitly ANDed — an event must match every Filter to be delivered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterConfiguration
default UpdateSubscriberRequest.Builder filterConfiguration(Consumer<FilterConfiguration.Builder> filterConfiguration) Configuration for filtering events delivered to a subscriber. On CreateSubscriber, Filters is required and must contain at least one Filter with a non-empty Pattern. On UpdateSubscriber, an empty
This is a convenience method that creates an instance of theFilterConfiguration:{}clears the existing filter. Any non-empty shape (including{Language:X}without Filters) must contain a valid Filters list — same contract as CreateSubscriber. A non-empty Filters list overwrites; an omitted FilterConfiguration preserves existing state. All Filters are implicitly ANDed — an event must match every Filter to be delivered.FilterConfiguration.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:
-
batchConfiguration
Batching configuration for a subscriber.
- Parameters:
batchConfiguration- Batching configuration for a subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchConfiguration
default UpdateSubscriberRequest.Builder batchConfiguration(Consumer<BatchConfiguration.Builder> batchConfiguration) Batching configuration for a subscriber.
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
Transformer configuration for a subscriber.
- Parameters:
transformer- Transformer configuration for a subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformer
Transformer configuration for a subscriber.
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
Retry policy for a subscriber.
- Parameters:
retryPolicy- Retry policy for a subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicy
Retry policy for a subscriber.
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
UpdateSubscriberRequest.Builder onFailureConfiguration(OnFailureConfiguration onFailureConfiguration) On-failure configuration: where a failed delivery is sent. Shared by the subscriber and the EventSource.
- Parameters:
onFailureConfiguration- On-failure configuration: where a failed delivery is sent. Shared by the subscriber and the EventSource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onFailureConfiguration
default UpdateSubscriberRequest.Builder onFailureConfiguration(Consumer<OnFailureConfiguration.Builder> onFailureConfiguration) On-failure configuration: where a failed delivery is sent. Shared by the subscriber and the EventSource.
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
Log configuration for a subscriber.
- Parameters:
logConfiguration- Log configuration for a subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default UpdateSubscriberRequest.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) Log configuration for a subscriber.
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:
-
overrideConfiguration
UpdateSubscriberRequest.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
UpdateSubscriberRequest.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.
-