Interface UpdateEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateEndpointRequest.Builder,
,UpdateEndpointRequest> EventBridgeRequest.Builder
,SdkBuilder<UpdateEndpointRequest.Builder,
,UpdateEndpointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description for the endpoint.eventBuses
(Collection<EndpointEventBus> eventBuses) Define event buses used for replication.eventBuses
(Consumer<EndpointEventBus.Builder>... eventBuses) Define event buses used for replication.eventBuses
(EndpointEventBus... eventBuses) Define event buses used for replication.The name of the endpoint you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateEndpointRequest.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 UpdateEndpointRequest.Builder
routingConfig
(Consumer<RoutingConfig.Builder> routingConfig) Configure the routing policy, including the health check and secondary Region.routingConfig
(RoutingConfig routingConfig) Configure the routing policy, including the health check and secondary Region.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the endpoint you want to update.
- Parameters:
name
- The name of the endpoint you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the endpoint.
- Parameters:
description
- A description for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
Configure the routing policy, including the health check and secondary Region.
- Parameters:
routingConfig
- Configure the routing policy, including the health check and secondary Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingConfig
Configure the routing policy, including the health check and secondary Region.
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 UpdateEndpointRequest.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
Define event buses used for replication.
- Parameters:
eventBuses
- Define event buses used for replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
Define event buses used for replication.
- Parameters:
eventBuses
- Define event buses used for replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
Define event buses used for replication.
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.
-
overrideConfiguration
UpdateEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-