@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserDataValidationParameters extends Object implements Serializable, Cloneable, StructuredPojo
Contains validation parameters.
Constructor and Description |
---|
UserDataValidationParameters() |
Modifier and Type | Method and Description |
---|---|
UserDataValidationParameters |
clone() |
boolean |
equals(Object obj) |
String |
getScriptType()
The type of validation script.
|
Source |
getSource()
The location of the validation script.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setScriptType(String scriptType)
The type of validation script.
|
void |
setSource(Source source)
The location of the validation script.
|
String |
toString()
Returns a string representation of this object.
|
UserDataValidationParameters |
withScriptType(ScriptType scriptType)
The type of validation script.
|
UserDataValidationParameters |
withScriptType(String scriptType)
The type of validation script.
|
UserDataValidationParameters |
withSource(Source source)
The location of the validation script.
|
public void setSource(Source source)
The location of the validation script.
source
- The location of the validation script.public Source getSource()
The location of the validation script.
public UserDataValidationParameters withSource(Source source)
The location of the validation script.
source
- The location of the validation script.public void setScriptType(String scriptType)
The type of validation script.
scriptType
- The type of validation script.ScriptType
public String getScriptType()
The type of validation script.
ScriptType
public UserDataValidationParameters withScriptType(String scriptType)
The type of validation script.
scriptType
- The type of validation script.ScriptType
public UserDataValidationParameters withScriptType(ScriptType scriptType)
The type of validation script.
scriptType
- The type of validation script.ScriptType
public String toString()
toString
in class Object
Object.toString()
public UserDataValidationParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.