Interface AwsEventsEndpointRoutingConfigDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEventsEndpointRoutingConfigDetails.Builder,AwsEventsEndpointRoutingConfigDetails>,SdkBuilder<AwsEventsEndpointRoutingConfigDetails.Builder,AwsEventsEndpointRoutingConfigDetails>,SdkPojo
- Enclosing class:
- AwsEventsEndpointRoutingConfigDetails
public static interface AwsEventsEndpointRoutingConfigDetails.Builder extends SdkPojo, CopyableBuilder<AwsEventsEndpointRoutingConfigDetails.Builder,AwsEventsEndpointRoutingConfigDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsEventsEndpointRoutingConfigDetails.BuilderfailoverConfig(Consumer<AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder> failoverConfig)The failover configuration for an endpoint.AwsEventsEndpointRoutingConfigDetails.BuilderfailoverConfig(AwsEventsEndpointRoutingConfigFailoverConfigDetails failoverConfig)The failover configuration for an endpoint.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
failoverConfig
AwsEventsEndpointRoutingConfigDetails.Builder failoverConfig(AwsEventsEndpointRoutingConfigFailoverConfigDetails failoverConfig)
The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
- Parameters:
failoverConfig- The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failoverConfig
default AwsEventsEndpointRoutingConfigDetails.Builder failoverConfig(Consumer<AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder> failoverConfig)
The failover configuration for an endpoint. This includes what triggers failover and what happens when it's triggered.
This is a convenience method that creates an instance of theAwsEventsEndpointRoutingConfigFailoverConfigDetails.Builderavoiding the need to create one manually viaAwsEventsEndpointRoutingConfigFailoverConfigDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailoverConfig(AwsEventsEndpointRoutingConfigFailoverConfigDetails).- Parameters:
failoverConfig- a consumer that will call methods onAwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failoverConfig(AwsEventsEndpointRoutingConfigFailoverConfigDetails)
-
-