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
Modifier and TypeMethodDescriptionfailoverConfig(Consumer<AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder> failoverConfig) The failover configuration for an endpoint.failoverConfig(AwsEventsEndpointRoutingConfigFailoverConfigDetails failoverConfig) The failover configuration for an endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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:
-