Interface CreateEndpointResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateEndpointResponse.Builder,
,CreateEndpointResponse> EventBridgeResponse.Builder
,SdkBuilder<CreateEndpointResponse.Builder,
,CreateEndpointResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateEndpointResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the endpoint that was created by this request.eventBuses
(Collection<EndpointEventBus> eventBuses) The event buses used by this request.eventBuses
(Consumer<EndpointEventBus.Builder>... eventBuses) The event buses used by this request.eventBuses
(EndpointEventBus... eventBuses) The event buses used by this request.The name of the endpoint that was created by this request.default CreateEndpointResponse.Builder
replicationConfig
(Consumer<ReplicationConfig.Builder> replicationConfig) Whether event replication was enabled or disabled by this request.replicationConfig
(ReplicationConfig replicationConfig) Whether event replication was enabled or disabled by this request.The ARN of the role used by event replication for this request.default CreateEndpointResponse.Builder
routingConfig
(Consumer<RoutingConfig.Builder> routingConfig) The routing configuration defined by this request.routingConfig
(RoutingConfig routingConfig) The routing configuration defined by this request.The state of the endpoint that was created by this request.state
(EndpointState state) The state of the endpoint that was created by this request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
name
The name of the endpoint that was created by this request.
- Parameters:
name
- The name of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the endpoint that was created by this request.
- Parameters:
arn
- The ARN of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The routing configuration defined by this request.
- Parameters:
routingConfig
- The routing configuration defined by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
The routing configuration defined by this request.
This is a convenience method that creates an instance of theRoutingConfig.Builder
avoiding the need to create one manually viaRoutingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutingConfig(RoutingConfig)
.- Parameters:
routingConfig
- a consumer that will call methods onRoutingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationConfig
Whether event replication was enabled or disabled by this request.
- Parameters:
replicationConfig
- Whether event replication was enabled or disabled by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfig
default CreateEndpointResponse.Builder replicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig) Whether event replication was enabled or disabled by this request.
This is a convenience method that creates an instance of theReplicationConfig.Builder
avoiding the need to create one manually viaReplicationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationConfig(ReplicationConfig)
.- Parameters:
replicationConfig
- a consumer that will call methods onReplicationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventBuses
The event buses used by this request.
- Parameters:
eventBuses
- The event buses used by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
The event buses used by this request.
- Parameters:
eventBuses
- The event buses used by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
The event buses used by this request.
This is a convenience method that creates an instance of theEndpointEventBus.Builder
avoiding the need to create one manually viaEndpointEventBus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventBuses(List<EndpointEventBus>)
.- Parameters:
eventBuses
- a consumer that will call methods onEndpointEventBus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the role used by event replication for this request.
- Parameters:
roleArn
- The ARN of the role used by event replication for this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the endpoint that was created by this request.
- Parameters:
state
- The state of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the endpoint that was created by this request.
- Parameters:
state
- The state of the endpoint that was created by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-