Interface AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder,AwsEventsEndpointRoutingConfigFailoverConfigDetails>,SdkBuilder<AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder,AwsEventsEndpointRoutingConfigFailoverConfigDetails>,SdkPojo
- Enclosing class:
- AwsEventsEndpointRoutingConfigFailoverConfigDetails
public static interface AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder extends SdkPojo, CopyableBuilder<AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder,AwsEventsEndpointRoutingConfigFailoverConfigDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builderprimary(Consumer<AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails.Builder> primary)The main Region of the endpoint.AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builderprimary(AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails primary)The main Region of the endpoint.default AwsEventsEndpointRoutingConfigFailoverConfigDetails.Buildersecondary(Consumer<AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails.Builder> secondary)The Region that events are routed to when failover is triggered or event replication is enabled.AwsEventsEndpointRoutingConfigFailoverConfigDetails.Buildersecondary(AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails secondary)The Region that events are routed to when failover is triggered or event replication is enabled.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
primary
AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder primary(AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails primary)
The main Region of the endpoint.
- Parameters:
primary- The main Region of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primary
default AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder primary(Consumer<AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails.Builder> primary)
The main Region of the endpoint.
This is a convenience method that creates an instance of theAwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails.Builderavoiding the need to create one manually viaAwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimary(AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails).- Parameters:
primary- a consumer that will call methods onAwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primary(AwsEventsEndpointRoutingConfigFailoverConfigPrimaryDetails)
-
secondary
AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder secondary(AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails secondary)
The Region that events are routed to when failover is triggered or event replication is enabled.
- Parameters:
secondary- The Region that events are routed to when failover is triggered or event replication is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondary
default AwsEventsEndpointRoutingConfigFailoverConfigDetails.Builder secondary(Consumer<AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails.Builder> secondary)
The Region that events are routed to when failover is triggered or event replication is enabled.
This is a convenience method that creates an instance of theAwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails.Builderavoiding the need to create one manually viaAwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondary(AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails).- Parameters:
secondary- a consumer that will call methods onAwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
secondary(AwsEventsEndpointRoutingConfigFailoverConfigSecondaryDetails)
-
-