Interface CreateSubscriberResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSubscriberResponse.Builder,,CreateSubscriberResponse> EventBridgeV2Response.Builder,SdkBuilder<CreateSubscriberResponse.Builder,,CreateSubscriberResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSubscriberResponse
@Mutable
@NotThreadSafe
public static interface CreateSubscriberResponse.Builder
extends EventBridgeV2Response.Builder, SdkPojo, CopyableBuilder<CreateSubscriberResponse.Builder,CreateSubscriberResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The time the subscriber was created.eventBusArn(String eventBusArn) Sets the value of the EventBusArn property for this object.Sets the value of the Name property for this object.default CreateSubscriberResponse.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.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.subscriberArn(String subscriberArn) Sets the value of the SubscriberArn property for this object.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.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
Sets the value of the SubscriberArn property for this object.- Parameters:
subscriberArn- The new value for the SubscriberArn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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
CreateSubscriberResponse.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 CreateSubscriberResponse.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:
-
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:
-
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.
-