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.BuilderreplicationConfig(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.BuilderroutingConfig(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.eventbridge.model.EventBridgeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.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:
-
replicationConfig
Enable or disable event replication. The default state is
ENABLEDwhich means you must supply aRoleArn. If you don't have aRoleArnor you don't want event replication enabled, set the state toDISABLED.- Parameters:
replicationConfig- Enable or disable event replication. The default state isENABLEDwhich means you must supply aRoleArn. If you don't have aRoleArnor 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 theENABLEDwhich means you must supply aRoleArn. If you don't have aRoleArnor you don't want event replication enabled, set the state toDISABLED.ReplicationConfig.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:
-
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.
This is a convenience method that creates an instance of theThe names of the event buses must be identical in each Region.
EndpointEventBus.Builderavoiding the need to create one manually viaEndpointEventBus.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-