Class ExecutionBlockConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ExecutionBlockConfiguration.Builder,
ExecutionBlockConfiguration>
Execution block configurations for a workflow in a Region switch plan. An execution block represents a specific type of action to perform during a Region switch.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static enum
-
Method Summary
Modifier and TypeMethodDescriptionAn ARC routing control execution block.builder()
An Amazon Web Services Lambda execution block.An EC2 Auto Scaling group execution block.The capacity increase specified for the configuration.An Amazon Web Services EKS resource scaling execution block.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.A manual approval execution block.static ExecutionBlockConfiguration
fromArcRoutingControlConfig
(Consumer<ArcRoutingControlConfiguration.Builder> arcRoutingControlConfig) Create an instance of this class witharcRoutingControlConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromArcRoutingControlConfig
(ArcRoutingControlConfiguration arcRoutingControlConfig) Create an instance of this class witharcRoutingControlConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromCustomActionLambdaConfig
(Consumer<CustomActionLambdaConfiguration.Builder> customActionLambdaConfig) Create an instance of this class withcustomActionLambdaConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromCustomActionLambdaConfig
(CustomActionLambdaConfiguration customActionLambdaConfig) Create an instance of this class withcustomActionLambdaConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromEc2AsgCapacityIncreaseConfig
(Consumer<Ec2AsgCapacityIncreaseConfiguration.Builder> ec2AsgCapacityIncreaseConfig) Create an instance of this class withec2AsgCapacityIncreaseConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromEc2AsgCapacityIncreaseConfig
(Ec2AsgCapacityIncreaseConfiguration ec2AsgCapacityIncreaseConfig) Create an instance of this class withec2AsgCapacityIncreaseConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromEcsCapacityIncreaseConfig
(Consumer<EcsCapacityIncreaseConfiguration.Builder> ecsCapacityIncreaseConfig) Create an instance of this class withecsCapacityIncreaseConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromEcsCapacityIncreaseConfig
(EcsCapacityIncreaseConfiguration ecsCapacityIncreaseConfig) Create an instance of this class withecsCapacityIncreaseConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromEksResourceScalingConfig
(Consumer<EksResourceScalingConfiguration.Builder> eksResourceScalingConfig) Create an instance of this class witheksResourceScalingConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromEksResourceScalingConfig
(EksResourceScalingConfiguration eksResourceScalingConfig) Create an instance of this class witheksResourceScalingConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromExecutionApprovalConfig
(Consumer<ExecutionApprovalConfiguration.Builder> executionApprovalConfig) Create an instance of this class withexecutionApprovalConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromExecutionApprovalConfig
(ExecutionApprovalConfiguration executionApprovalConfig) Create an instance of this class withexecutionApprovalConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromGlobalAuroraConfig
(Consumer<GlobalAuroraConfiguration.Builder> globalAuroraConfig) Create an instance of this class withglobalAuroraConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromGlobalAuroraConfig
(GlobalAuroraConfiguration globalAuroraConfig) Create an instance of this class withglobalAuroraConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromParallelConfig
(Consumer<ParallelExecutionBlockConfiguration.Builder> parallelConfig) Create an instance of this class withparallelConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromParallelConfig
(ParallelExecutionBlockConfiguration parallelConfig) Create an instance of this class withparallelConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromRegionSwitchPlanConfig
(Consumer<RegionSwitchPlanConfiguration.Builder> regionSwitchPlanConfig) Create an instance of this class withregionSwitchPlanConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromRegionSwitchPlanConfig
(RegionSwitchPlanConfiguration regionSwitchPlanConfig) Create an instance of this class withregionSwitchPlanConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromRoute53HealthCheckConfig
(Consumer<Route53HealthCheckConfiguration.Builder> route53HealthCheckConfig) Create an instance of this class withroute53HealthCheckConfig()
initialized to the given value.static ExecutionBlockConfiguration
fromRoute53HealthCheckConfig
(Route53HealthCheckConfiguration route53HealthCheckConfig) Create an instance of this class withroute53HealthCheckConfig()
initialized to the given value.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) An Aurora Global Database execution block.final int
hashCode()
A parallel configuration execution block.A Region switch plan execution block.The Amazon Route 53 health check configuration.static Class
<? extends ExecutionBlockConfiguration.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.type()
Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
customActionLambdaConfig
An Amazon Web Services Lambda execution block.
- Returns:
- An Amazon Web Services Lambda execution block.
-
ec2AsgCapacityIncreaseConfig
An EC2 Auto Scaling group execution block.
- Returns:
- An EC2 Auto Scaling group execution block.
-
executionApprovalConfig
A manual approval execution block.
- Returns:
- A manual approval execution block.
-
arcRoutingControlConfig
An ARC routing control execution block.
- Returns:
- An ARC routing control execution block.
-
globalAuroraConfig
An Aurora Global Database execution block.
- Returns:
- An Aurora Global Database execution block.
-
parallelConfig
A parallel configuration execution block.
- Returns:
- A parallel configuration execution block.
-
regionSwitchPlanConfig
A Region switch plan execution block.
- Returns:
- A Region switch plan execution block.
-
ecsCapacityIncreaseConfig
The capacity increase specified for the configuration.
- Returns:
- The capacity increase specified for the configuration.
-
eksResourceScalingConfig
An Amazon Web Services EKS resource scaling execution block.
- Returns:
- An Amazon Web Services EKS resource scaling execution block.
-
route53HealthCheckConfig
The Amazon Route 53 health check configuration.
- Returns:
- The Amazon Route 53 health check configuration.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ExecutionBlockConfiguration.Builder,
ExecutionBlockConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromCustomActionLambdaConfig
public static ExecutionBlockConfiguration fromCustomActionLambdaConfig(CustomActionLambdaConfiguration customActionLambdaConfig) Create an instance of this class withcustomActionLambdaConfig()
initialized to the given value.An Amazon Web Services Lambda execution block.
- Parameters:
customActionLambdaConfig
- An Amazon Web Services Lambda execution block.
-
fromCustomActionLambdaConfig
public static ExecutionBlockConfiguration fromCustomActionLambdaConfig(Consumer<CustomActionLambdaConfiguration.Builder> customActionLambdaConfig) Create an instance of this class withcustomActionLambdaConfig()
initialized to the given value.An Amazon Web Services Lambda execution block.
- Parameters:
customActionLambdaConfig
- An Amazon Web Services Lambda execution block.
-
fromEc2AsgCapacityIncreaseConfig
public static ExecutionBlockConfiguration fromEc2AsgCapacityIncreaseConfig(Ec2AsgCapacityIncreaseConfiguration ec2AsgCapacityIncreaseConfig) Create an instance of this class withec2AsgCapacityIncreaseConfig()
initialized to the given value.An EC2 Auto Scaling group execution block.
- Parameters:
ec2AsgCapacityIncreaseConfig
- An EC2 Auto Scaling group execution block.
-
fromEc2AsgCapacityIncreaseConfig
public static ExecutionBlockConfiguration fromEc2AsgCapacityIncreaseConfig(Consumer<Ec2AsgCapacityIncreaseConfiguration.Builder> ec2AsgCapacityIncreaseConfig) Create an instance of this class withec2AsgCapacityIncreaseConfig()
initialized to the given value.An EC2 Auto Scaling group execution block.
- Parameters:
ec2AsgCapacityIncreaseConfig
- An EC2 Auto Scaling group execution block.
-
fromExecutionApprovalConfig
public static ExecutionBlockConfiguration fromExecutionApprovalConfig(ExecutionApprovalConfiguration executionApprovalConfig) Create an instance of this class withexecutionApprovalConfig()
initialized to the given value.A manual approval execution block.
- Parameters:
executionApprovalConfig
- A manual approval execution block.
-
fromExecutionApprovalConfig
public static ExecutionBlockConfiguration fromExecutionApprovalConfig(Consumer<ExecutionApprovalConfiguration.Builder> executionApprovalConfig) Create an instance of this class withexecutionApprovalConfig()
initialized to the given value.A manual approval execution block.
- Parameters:
executionApprovalConfig
- A manual approval execution block.
-
fromArcRoutingControlConfig
public static ExecutionBlockConfiguration fromArcRoutingControlConfig(ArcRoutingControlConfiguration arcRoutingControlConfig) Create an instance of this class witharcRoutingControlConfig()
initialized to the given value.An ARC routing control execution block.
- Parameters:
arcRoutingControlConfig
- An ARC routing control execution block.
-
fromArcRoutingControlConfig
public static ExecutionBlockConfiguration fromArcRoutingControlConfig(Consumer<ArcRoutingControlConfiguration.Builder> arcRoutingControlConfig) Create an instance of this class witharcRoutingControlConfig()
initialized to the given value.An ARC routing control execution block.
- Parameters:
arcRoutingControlConfig
- An ARC routing control execution block.
-
fromGlobalAuroraConfig
public static ExecutionBlockConfiguration fromGlobalAuroraConfig(GlobalAuroraConfiguration globalAuroraConfig) Create an instance of this class withglobalAuroraConfig()
initialized to the given value.An Aurora Global Database execution block.
- Parameters:
globalAuroraConfig
- An Aurora Global Database execution block.
-
fromGlobalAuroraConfig
public static ExecutionBlockConfiguration fromGlobalAuroraConfig(Consumer<GlobalAuroraConfiguration.Builder> globalAuroraConfig) Create an instance of this class withglobalAuroraConfig()
initialized to the given value.An Aurora Global Database execution block.
- Parameters:
globalAuroraConfig
- An Aurora Global Database execution block.
-
fromParallelConfig
public static ExecutionBlockConfiguration fromParallelConfig(ParallelExecutionBlockConfiguration parallelConfig) Create an instance of this class withparallelConfig()
initialized to the given value.A parallel configuration execution block.
- Parameters:
parallelConfig
- A parallel configuration execution block.
-
fromParallelConfig
public static ExecutionBlockConfiguration fromParallelConfig(Consumer<ParallelExecutionBlockConfiguration.Builder> parallelConfig) Create an instance of this class withparallelConfig()
initialized to the given value.A parallel configuration execution block.
- Parameters:
parallelConfig
- A parallel configuration execution block.
-
fromRegionSwitchPlanConfig
public static ExecutionBlockConfiguration fromRegionSwitchPlanConfig(RegionSwitchPlanConfiguration regionSwitchPlanConfig) Create an instance of this class withregionSwitchPlanConfig()
initialized to the given value.A Region switch plan execution block.
- Parameters:
regionSwitchPlanConfig
- A Region switch plan execution block.
-
fromRegionSwitchPlanConfig
public static ExecutionBlockConfiguration fromRegionSwitchPlanConfig(Consumer<RegionSwitchPlanConfiguration.Builder> regionSwitchPlanConfig) Create an instance of this class withregionSwitchPlanConfig()
initialized to the given value.A Region switch plan execution block.
- Parameters:
regionSwitchPlanConfig
- A Region switch plan execution block.
-
fromEcsCapacityIncreaseConfig
public static ExecutionBlockConfiguration fromEcsCapacityIncreaseConfig(EcsCapacityIncreaseConfiguration ecsCapacityIncreaseConfig) Create an instance of this class withecsCapacityIncreaseConfig()
initialized to the given value.The capacity increase specified for the configuration.
- Parameters:
ecsCapacityIncreaseConfig
- The capacity increase specified for the configuration.
-
fromEcsCapacityIncreaseConfig
public static ExecutionBlockConfiguration fromEcsCapacityIncreaseConfig(Consumer<EcsCapacityIncreaseConfiguration.Builder> ecsCapacityIncreaseConfig) Create an instance of this class withecsCapacityIncreaseConfig()
initialized to the given value.The capacity increase specified for the configuration.
- Parameters:
ecsCapacityIncreaseConfig
- The capacity increase specified for the configuration.
-
fromEksResourceScalingConfig
public static ExecutionBlockConfiguration fromEksResourceScalingConfig(EksResourceScalingConfiguration eksResourceScalingConfig) Create an instance of this class witheksResourceScalingConfig()
initialized to the given value.An Amazon Web Services EKS resource scaling execution block.
- Parameters:
eksResourceScalingConfig
- An Amazon Web Services EKS resource scaling execution block.
-
fromEksResourceScalingConfig
public static ExecutionBlockConfiguration fromEksResourceScalingConfig(Consumer<EksResourceScalingConfiguration.Builder> eksResourceScalingConfig) Create an instance of this class witheksResourceScalingConfig()
initialized to the given value.An Amazon Web Services EKS resource scaling execution block.
- Parameters:
eksResourceScalingConfig
- An Amazon Web Services EKS resource scaling execution block.
-
fromRoute53HealthCheckConfig
public static ExecutionBlockConfiguration fromRoute53HealthCheckConfig(Route53HealthCheckConfiguration route53HealthCheckConfig) Create an instance of this class withroute53HealthCheckConfig()
initialized to the given value.The Amazon Route 53 health check configuration.
- Parameters:
route53HealthCheckConfig
- The Amazon Route 53 health check configuration.
-
fromRoute53HealthCheckConfig
public static ExecutionBlockConfiguration fromRoute53HealthCheckConfig(Consumer<Route53HealthCheckConfiguration.Builder> route53HealthCheckConfig) Create an instance of this class withroute53HealthCheckConfig()
initialized to the given value.The Amazon Route 53 health check configuration.
- Parameters:
route53HealthCheckConfig
- The Amazon Route 53 health check configuration.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beExecutionBlockConfiguration.Type.UNKNOWN_TO_SDK_VERSION
if the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beExecutionBlockConfiguration.Type.UNKNOWN_TO_SDK_VERSION
if zero members are set, andnull
if more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-