Class WorkflowStepAutomationConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhuborchestrator.model.WorkflowStepAutomationConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkflowStepAutomationConfiguration.Builder,WorkflowStepAutomationConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class WorkflowStepAutomationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkflowStepAutomationConfiguration.Builder,WorkflowStepAutomationConfiguration>
The custom script to run tests on source or target environments.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkflowStepAutomationConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkflowStepAutomationConfiguration.Builderbuilder()PlatformCommandcommand()The command required to run the script.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RunEnvironmentrunEnvironment()The source or target environment.StringrunEnvironmentAsString()The source or target environment.StringscriptLocationS3Bucket()The Amazon S3 bucket where the script is located.PlatformScriptKeyscriptLocationS3Key()The Amazon S3 key for the script location.List<SdkField<?>>sdkFields()static Class<? extends WorkflowStepAutomationConfiguration.Builder>serializableBuilderClass()TargetTypetargetType()The servers on which to run the script.StringtargetTypeAsString()The servers on which to run the script.WorkflowStepAutomationConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
scriptLocationS3Bucket
public final String scriptLocationS3Bucket()
The Amazon S3 bucket where the script is located.
- Returns:
- The Amazon S3 bucket where the script is located.
-
scriptLocationS3Key
public final PlatformScriptKey scriptLocationS3Key()
The Amazon S3 key for the script location.
- Returns:
- The Amazon S3 key for the script location.
-
command
public final PlatformCommand command()
The command required to run the script.
- Returns:
- The command required to run the script.
-
runEnvironment
public final RunEnvironment runEnvironment()
The source or target environment.
If the service returns an enum value that is not available in the current SDK version,
runEnvironmentwill returnRunEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunEnvironmentAsString().- Returns:
- The source or target environment.
- See Also:
RunEnvironment
-
runEnvironmentAsString
public final String runEnvironmentAsString()
The source or target environment.
If the service returns an enum value that is not available in the current SDK version,
runEnvironmentwill returnRunEnvironment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunEnvironmentAsString().- Returns:
- The source or target environment.
- See Also:
RunEnvironment
-
targetType
public final TargetType targetType()
The servers on which to run the script.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The servers on which to run the script.
- See Also:
TargetType
-
targetTypeAsString
public final String targetTypeAsString()
The servers on which to run the script.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- The servers on which to run the script.
- See Also:
TargetType
-
toBuilder
public WorkflowStepAutomationConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkflowStepAutomationConfiguration.Builder,WorkflowStepAutomationConfiguration>
-
builder
public static WorkflowStepAutomationConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkflowStepAutomationConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-