Interface UpdateEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>,EventBridgeRequest.Builder,SdkBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateEndpointRequest
public static interface UpdateEndpointRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<UpdateEndpointRequest.Builder,UpdateEndpointRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateEndpointRequest.Builderdescription(String description)A description for the endpoint.UpdateEndpointRequest.BuildereventBuses(Collection<EndpointEventBus> eventBuses)Define event buses used for replication.UpdateEndpointRequest.BuildereventBuses(Consumer<EndpointEventBus.Builder>... eventBuses)Define event buses used for replication.UpdateEndpointRequest.BuildereventBuses(EndpointEventBus... eventBuses)Define event buses used for replication.UpdateEndpointRequest.Buildername(String name)The name of the endpoint you want to update.UpdateEndpointRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateEndpointRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateEndpointRequest.BuilderreplicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig)Whether event replication was enabled or disabled by this request.UpdateEndpointRequest.BuilderreplicationConfig(ReplicationConfig replicationConfig)Whether event replication was enabled or disabled by this request.UpdateEndpointRequest.BuilderroleArn(String roleArn)The ARN of the role used by event replication for this request.default UpdateEndpointRequest.BuilderroutingConfig(Consumer<RoutingConfig.Builder> routingConfig)Configure the routing policy, including the health check and secondary Region.UpdateEndpointRequest.BuilderroutingConfig(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 Detail
-
name
UpdateEndpointRequest.Builder name(String 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
UpdateEndpointRequest.Builder description(String 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
UpdateEndpointRequest.Builder routingConfig(RoutingConfig 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
default UpdateEndpointRequest.Builder routingConfig(Consumer<RoutingConfig.Builder> routingConfig)
Configure the routing policy, including the health check and secondary Region.
This is a convenience method that creates an instance of theRoutingConfig.Builderavoiding the need to create one manually viaRoutingConfig.builder().When the
Consumercompletes,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:
routingConfig(RoutingConfig)
-
replicationConfig
UpdateEndpointRequest.Builder replicationConfig(ReplicationConfig 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.Builderavoiding the need to create one manually viaReplicationConfig.builder().When the
Consumercompletes,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:
replicationConfig(ReplicationConfig)
-
eventBuses
UpdateEndpointRequest.Builder eventBuses(Collection<EndpointEventBus> 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
UpdateEndpointRequest.Builder eventBuses(EndpointEventBus... 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
UpdateEndpointRequest.Builder eventBuses(Consumer<EndpointEventBus.Builder>... eventBuses)
Define event buses used for replication.
This is a convenience method that creates an instance of theEndpointEventBus.Builderavoiding the need to create one manually viaEndpointEventBus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#eventBuses(List.) - 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:
#eventBuses(java.util.Collection)
-
roleArn
UpdateEndpointRequest.Builder roleArn(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-