@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StepAutomationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The custom script to run tests on source or target environments.
Constructor and Description |
---|
StepAutomationConfiguration() |
Modifier and Type | Method and Description |
---|---|
StepAutomationConfiguration |
clone() |
boolean |
equals(Object obj) |
PlatformCommand |
getCommand()
The command to run the script.
|
String |
getRunEnvironment()
The source or target environment.
|
String |
getScriptLocationS3Bucket()
The Amazon S3 bucket where the script is located.
|
PlatformScriptKey |
getScriptLocationS3Key()
The Amazon S3 key for the script location.
|
String |
getTargetType()
The servers on which to run the script.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCommand(PlatformCommand command)
The command to run the script.
|
void |
setRunEnvironment(String runEnvironment)
The source or target environment.
|
void |
setScriptLocationS3Bucket(String scriptLocationS3Bucket)
The Amazon S3 bucket where the script is located.
|
void |
setScriptLocationS3Key(PlatformScriptKey scriptLocationS3Key)
The Amazon S3 key for the script location.
|
void |
setTargetType(String targetType)
The servers on which to run the script.
|
String |
toString()
Returns a string representation of this object.
|
StepAutomationConfiguration |
withCommand(PlatformCommand command)
The command to run the script.
|
StepAutomationConfiguration |
withRunEnvironment(RunEnvironment runEnvironment)
The source or target environment.
|
StepAutomationConfiguration |
withRunEnvironment(String runEnvironment)
The source or target environment.
|
StepAutomationConfiguration |
withScriptLocationS3Bucket(String scriptLocationS3Bucket)
The Amazon S3 bucket where the script is located.
|
StepAutomationConfiguration |
withScriptLocationS3Key(PlatformScriptKey scriptLocationS3Key)
The Amazon S3 key for the script location.
|
StepAutomationConfiguration |
withTargetType(String targetType)
The servers on which to run the script.
|
StepAutomationConfiguration |
withTargetType(TargetType targetType)
The servers on which to run the script.
|
public void setScriptLocationS3Bucket(String scriptLocationS3Bucket)
The Amazon S3 bucket where the script is located.
scriptLocationS3Bucket
- The Amazon S3 bucket where the script is located.public String getScriptLocationS3Bucket()
The Amazon S3 bucket where the script is located.
public StepAutomationConfiguration withScriptLocationS3Bucket(String scriptLocationS3Bucket)
The Amazon S3 bucket where the script is located.
scriptLocationS3Bucket
- The Amazon S3 bucket where the script is located.public void setScriptLocationS3Key(PlatformScriptKey scriptLocationS3Key)
The Amazon S3 key for the script location.
scriptLocationS3Key
- The Amazon S3 key for the script location.public PlatformScriptKey getScriptLocationS3Key()
The Amazon S3 key for the script location.
public StepAutomationConfiguration withScriptLocationS3Key(PlatformScriptKey scriptLocationS3Key)
The Amazon S3 key for the script location.
scriptLocationS3Key
- The Amazon S3 key for the script location.public void setCommand(PlatformCommand command)
The command to run the script.
command
- The command to run the script.public PlatformCommand getCommand()
The command to run the script.
public StepAutomationConfiguration withCommand(PlatformCommand command)
The command to run the script.
command
- The command to run the script.public void setRunEnvironment(String runEnvironment)
The source or target environment.
runEnvironment
- The source or target environment.RunEnvironment
public String getRunEnvironment()
The source or target environment.
RunEnvironment
public StepAutomationConfiguration withRunEnvironment(String runEnvironment)
The source or target environment.
runEnvironment
- The source or target environment.RunEnvironment
public StepAutomationConfiguration withRunEnvironment(RunEnvironment runEnvironment)
The source or target environment.
runEnvironment
- The source or target environment.RunEnvironment
public void setTargetType(String targetType)
The servers on which to run the script.
targetType
- The servers on which to run the script.TargetType
public String getTargetType()
The servers on which to run the script.
TargetType
public StepAutomationConfiguration withTargetType(String targetType)
The servers on which to run the script.
targetType
- The servers on which to run the script.TargetType
public StepAutomationConfiguration withTargetType(TargetType targetType)
The servers on which to run the script.
targetType
- The servers on which to run the script.TargetType
public String toString()
toString
in class Object
Object.toString()
public StepAutomationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.