Class StepAutomationConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhuborchestrator.model.StepAutomationConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StepAutomationConfiguration.Builder,StepAutomationConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class StepAutomationConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StepAutomationConfiguration.Builder,StepAutomationConfiguration>
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 interfaceStepAutomationConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StepAutomationConfiguration.Builderbuilder()PlatformCommandcommand()The command 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 StepAutomationConfiguration.Builder>serializableBuilderClass()TargetTypetargetType()The servers on which to run the script.StringtargetTypeAsString()The servers on which to run the script.StepAutomationConfiguration.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 to run the script.
- Returns:
- The command 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 StepAutomationConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StepAutomationConfiguration.Builder,StepAutomationConfiguration>
-
builder
public static StepAutomationConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends StepAutomationConfiguration.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.
-
-