Interface CreateEndpointRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEndpointRequest.Builder,CreateEndpointRequest>,EventBridgeRequest.Builder,SdkBuilder<CreateEndpointRequest.Builder,CreateEndpointRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateEndpointRequest
public static interface CreateEndpointRequest.Builder extends EventBridgeRequest.Builder, SdkPojo, CopyableBuilder<CreateEndpointRequest.Builder,CreateEndpointRequest>
-
-
Method Summary
-
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
CreateEndpointRequest.Builder name(String 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
CreateEndpointRequest.Builder description(String 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
CreateEndpointRequest.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 CreateEndpointRequest.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
CreateEndpointRequest.Builder replicationConfig(ReplicationConfig 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:
replicationConfig(ReplicationConfig)
-
eventBuses
CreateEndpointRequest.Builder eventBuses(Collection<EndpointEventBus> 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
CreateEndpointRequest.Builder eventBuses(EndpointEventBus... 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
CreateEndpointRequest.Builder eventBuses(Consumer<EndpointEventBus.Builder>... 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 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
CreateEndpointRequest.Builder roleArn(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-