Interface DescribeEventSourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEventSourceResponse.Builder,,DescribeEventSourceResponse> EventBridgeV2Response.Builder,SdkBuilder<DescribeEventSourceResponse.Builder,,DescribeEventSourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEventSourceResponse
@Mutable
@NotThreadSafe
public static interface DescribeEventSourceResponse.Builder
extends EventBridgeV2Response.Builder, SdkPojo, CopyableBuilder<DescribeEventSourceResponse.Builder,DescribeEventSourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration(Consumer<EventSourceConfiguration.Builder> configuration) Sets the value of the Configuration property for this object.configuration(EventSourceConfiguration configuration) Sets the value of the Configuration property for this object.creationTime(Instant creationTime) The time the EventSource was created.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.eventSourceArn(String eventSourceArn) Sets the value of the EventSourceArn property for this object.lastModifiedTime(Instant lastModifiedTime) The time the EventSource was last modified.Sets the value of the Name property for this object.True when the bus owner has withdrawn this EventSource.Sets the value of the State property for this object.state(EventSourceState state) Sets the value of the State 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
-
eventSourceArn
Sets the value of the EventSourceArn property for this object.- Parameters:
eventSourceArn- The new value for the EventSourceArn 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.
-
configuration
Sets the value of the Configuration property for this object.- Parameters:
configuration- The new value for the Configuration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default DescribeEventSourceResponse.Builder configuration(Consumer<EventSourceConfiguration.Builder> configuration) Sets the value of the Configuration property for this object. This is a convenience method that creates an instance of theEventSourceConfiguration.Builderavoiding the need to create one manually viaEventSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(EventSourceConfiguration).- Parameters:
configuration- a consumer that will call methods onEventSourceConfiguration.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.
-
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:
-
revoked
True when the bus owner has withdrawn this EventSource. Present only when true, so an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.
- Parameters:
revoked- True when the bus owner has withdrawn this EventSource. Present only when true, so an absent member means the EventSource is not revoked. Revocation is terminal: it never returns to false. Mutating operations on a revoked EventSource fail with InvalidStateException, except DeleteEventSource, which stays available so a revoked EventSource can still be cleaned up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time the EventSource was created.
- Parameters:
creationTime- The time the EventSource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time the EventSource was last modified.
- Parameters:
lastModifiedTime- The time the EventSource was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-