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 interfacestatic 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 booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.A manual approval execution block.static ExecutionBlockConfigurationfromArcRoutingControlConfig(Consumer<ArcRoutingControlConfiguration.Builder> arcRoutingControlConfig) Create an instance of this class witharcRoutingControlConfig()initialized to the given value.static ExecutionBlockConfigurationfromArcRoutingControlConfig(ArcRoutingControlConfiguration arcRoutingControlConfig) Create an instance of this class witharcRoutingControlConfig()initialized to the given value.static ExecutionBlockConfigurationfromCustomActionLambdaConfig(Consumer<CustomActionLambdaConfiguration.Builder> customActionLambdaConfig) Create an instance of this class withcustomActionLambdaConfig()initialized to the given value.static ExecutionBlockConfigurationfromCustomActionLambdaConfig(CustomActionLambdaConfiguration customActionLambdaConfig) Create an instance of this class withcustomActionLambdaConfig()initialized to the given value.static ExecutionBlockConfigurationfromEc2AsgCapacityIncreaseConfig(Consumer<Ec2AsgCapacityIncreaseConfiguration.Builder> ec2AsgCapacityIncreaseConfig) Create an instance of this class withec2AsgCapacityIncreaseConfig()initialized to the given value.static ExecutionBlockConfigurationfromEc2AsgCapacityIncreaseConfig(Ec2AsgCapacityIncreaseConfiguration ec2AsgCapacityIncreaseConfig) Create an instance of this class withec2AsgCapacityIncreaseConfig()initialized to the given value.static ExecutionBlockConfigurationfromEcsCapacityIncreaseConfig(Consumer<EcsCapacityIncreaseConfiguration.Builder> ecsCapacityIncreaseConfig) Create an instance of this class withecsCapacityIncreaseConfig()initialized to the given value.static ExecutionBlockConfigurationfromEcsCapacityIncreaseConfig(EcsCapacityIncreaseConfiguration ecsCapacityIncreaseConfig) Create an instance of this class withecsCapacityIncreaseConfig()initialized to the given value.static ExecutionBlockConfigurationfromEksResourceScalingConfig(Consumer<EksResourceScalingConfiguration.Builder> eksResourceScalingConfig) Create an instance of this class witheksResourceScalingConfig()initialized to the given value.static ExecutionBlockConfigurationfromEksResourceScalingConfig(EksResourceScalingConfiguration eksResourceScalingConfig) Create an instance of this class witheksResourceScalingConfig()initialized to the given value.static ExecutionBlockConfigurationfromExecutionApprovalConfig(Consumer<ExecutionApprovalConfiguration.Builder> executionApprovalConfig) Create an instance of this class withexecutionApprovalConfig()initialized to the given value.static ExecutionBlockConfigurationfromExecutionApprovalConfig(ExecutionApprovalConfiguration executionApprovalConfig) Create an instance of this class withexecutionApprovalConfig()initialized to the given value.static ExecutionBlockConfigurationfromGlobalAuroraConfig(Consumer<GlobalAuroraConfiguration.Builder> globalAuroraConfig) Create an instance of this class withglobalAuroraConfig()initialized to the given value.static ExecutionBlockConfigurationfromGlobalAuroraConfig(GlobalAuroraConfiguration globalAuroraConfig) Create an instance of this class withglobalAuroraConfig()initialized to the given value.static ExecutionBlockConfigurationfromParallelConfig(Consumer<ParallelExecutionBlockConfiguration.Builder> parallelConfig) Create an instance of this class withparallelConfig()initialized to the given value.static ExecutionBlockConfigurationfromParallelConfig(ParallelExecutionBlockConfiguration parallelConfig) Create an instance of this class withparallelConfig()initialized to the given value.static ExecutionBlockConfigurationfromRegionSwitchPlanConfig(Consumer<RegionSwitchPlanConfiguration.Builder> regionSwitchPlanConfig) Create an instance of this class withregionSwitchPlanConfig()initialized to the given value.static ExecutionBlockConfigurationfromRegionSwitchPlanConfig(RegionSwitchPlanConfiguration regionSwitchPlanConfig) Create an instance of this class withregionSwitchPlanConfig()initialized to the given value.static ExecutionBlockConfigurationfromRoute53HealthCheckConfig(Consumer<Route53HealthCheckConfiguration.Builder> route53HealthCheckConfig) Create an instance of this class withroute53HealthCheckConfig()initialized to the given value.static ExecutionBlockConfigurationfromRoute53HealthCheckConfig(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 inthashCode()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 StringtoString()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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ExecutionBlockConfiguration.Builder,ExecutionBlockConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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_VERSIONif 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_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-