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