Interface CreateEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEndpointRequest.Builder,
,CreateEndpointRequest> EventBridgeRequest.Builder
,SdkBuilder<CreateEndpointRequest.Builder,
,CreateEndpointRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the global endpoint.eventBuses
(Collection<EndpointEventBus> eventBuses) Define the event buses used.eventBuses
(Consumer<EndpointEventBus.Builder>... eventBuses) Define the event buses used.eventBuses
(EndpointEventBus... eventBuses) Define the event buses used.The name of the global endpoint.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateEndpointRequest.Builder
replicationConfig
(Consumer<ReplicationConfig.Builder> replicationConfig) Enable or disable event replication.replicationConfig
(ReplicationConfig replicationConfig) Enable or disable event replication.The ARN of the role used for replication.default CreateEndpointRequest.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the global endpoint. For example,
"Name":"us-east-2-custom_bus_A-endpoint"
.- Parameters:
name
- The name of the global endpoint. For example,"Name":"us-east-2-custom_bus_A-endpoint"
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the global endpoint.
- Parameters:
description
- A description of the global 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
Enable or disable event replication. The default state is
ENABLED
which means you must supply aRoleArn
. If you don't have aRoleArn
or you don't want event replication enabled, set the state toDISABLED
.- Parameters:
replicationConfig
- Enable or disable event replication. The default state isENABLED
which means you must supply aRoleArn
. If you don't have aRoleArn
or you don't want event replication enabled, set the state toDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfig
default CreateEndpointRequest.Builder replicationConfig(Consumer<ReplicationConfig.Builder> replicationConfig) Enable or disable event replication. The default state is
This is a convenience method that creates an instance of theENABLED
which means you must supply aRoleArn
. If you don't have aRoleArn
or you don't want event replication enabled, set the state toDISABLED
.ReplicationConfig.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 the event buses used.
The names of the event buses must be identical in each Region.
- Parameters:
eventBuses
- Define the event buses used.The names of the event buses must be identical in each Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
Define the event buses used.
The names of the event buses must be identical in each Region.
- Parameters:
eventBuses
- Define the event buses used.The names of the event buses must be identical in each Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBuses
Define the event buses used.
The names of the event buses must be identical in each Region.
EndpointEventBus.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 for replication.
- Parameters:
roleArn
- The ARN of the role used for replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateEndpointRequest.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
CreateEndpointRequest.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.
-