Interface CreateSubscriberResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSubscriberResponse.Builder,,CreateSubscriberResponse> EventBridgeV2Response.Builder,SdkBuilder<CreateSubscriberResponse.Builder,,CreateSubscriberResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSubscriberResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The time the subscriber was created.eventBusArn(String eventBusArn) The Amazon Resource Name (ARN) that uniquely identifies an event bus.Name of a subscriber.default CreateSubscriberResponse.BuilderpointInTimeConfiguration(Consumer<PointInTimeConfiguration.Builder> pointInTimeConfiguration) Point-in-time configuration for a subscriber.pointInTimeConfiguration(PointInTimeConfiguration pointInTimeConfiguration) Point-in-time configuration for a subscriber.startingPosition(String startingPosition) Starting position for a subscriber.startingPosition(StartingPosition startingPosition) Starting position 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 CreateSubscriberResponse.BuildersubscriberDetails(Consumer<SubscriberDetails.Builder> subscriberDetails) Sets the value of the SubscriberDetails property for this object.subscriberDetails(SubscriberDetails subscriberDetails) Sets the value of the SubscriberDetails property for this object.Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.type(OrderingType type) Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridgev2.model.EventBridgeV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
name
Name of a subscriber. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.
- Parameters:
name- Name of a subscriber. The first character must be alphanumeric; the remaining characters may also include '.', '-', and '_'.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBusArn
The Amazon Resource Name (ARN) that uniquely identifies an event bus.
- Parameters:
eventBusArn- The Amazon Resource Name (ARN) that uniquely identifies an event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.
- Parameters:
type- Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.
- Parameters:
type- Delivery ordering mode of a subscriber: FIFO delivers events in order within an event group; UNORDERED delivers without an ordering guarantee.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startingPosition
Starting position for a subscriber.
- Parameters:
startingPosition- Starting position for a subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startingPosition
Starting position for a subscriber.
- Parameters:
startingPosition- Starting position for a subscriber.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pointInTimeConfiguration
CreateSubscriberResponse.Builder pointInTimeConfiguration(PointInTimeConfiguration pointInTimeConfiguration) Point-in-time configuration for a subscriber. Only applicable when StartingPosition is POINT_IN_TIME.
- Parameters:
pointInTimeConfiguration- Point-in-time configuration for a subscriber. Only applicable when StartingPosition is POINT_IN_TIME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pointInTimeConfiguration
default CreateSubscriberResponse.Builder pointInTimeConfiguration(Consumer<PointInTimeConfiguration.Builder> pointInTimeConfiguration) Point-in-time configuration for a subscriber. Only applicable when StartingPosition is POINT_IN_TIME.
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:
-
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:
-
creationTime
The time the subscriber was created.
- Parameters:
creationTime- The time the subscriber was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriberDetails
Sets the value of the SubscriberDetails property for this object.- Parameters:
subscriberDetails- The new value for the SubscriberDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscriberDetails
default CreateSubscriberResponse.Builder subscriberDetails(Consumer<SubscriberDetails.Builder> subscriberDetails) Sets the value of the SubscriberDetails property for this object. This is a convenience method that creates an instance of theSubscriberDetails.Builderavoiding the need to create one manually viaSubscriberDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubscriberDetails(SubscriberDetails).- Parameters:
subscriberDetails- a consumer that will call methods onSubscriberDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-