@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringParameterDeclaration extends Object implements Serializable, Cloneable, StructuredPojo
A parameter declaration for the String
data type.
Constructor and Description |
---|
StringParameterDeclaration() |
Modifier and Type | Method and Description |
---|---|
StringParameterDeclaration |
clone() |
boolean |
equals(Object obj) |
StringDefaultValues |
getDefaultValues()
The default values of a parameter.
|
String |
getName()
The name of the parameter that is being declared.
|
String |
getParameterValueType()
The value type determines whether the parameter is a single-value or multi-value parameter.
|
StringValueWhenUnsetConfiguration |
getValueWhenUnset()
The configuration that defines the default value of a
String parameter when a value has not been
set. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultValues(StringDefaultValues defaultValues)
The default values of a parameter.
|
void |
setName(String name)
The name of the parameter that is being declared.
|
void |
setParameterValueType(String parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
|
void |
setValueWhenUnset(StringValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a
String parameter when a value has not been
set. |
String |
toString()
Returns a string representation of this object.
|
StringParameterDeclaration |
withDefaultValues(StringDefaultValues defaultValues)
The default values of a parameter.
|
StringParameterDeclaration |
withName(String name)
The name of the parameter that is being declared.
|
StringParameterDeclaration |
withParameterValueType(ParameterValueType parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
|
StringParameterDeclaration |
withParameterValueType(String parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
|
StringParameterDeclaration |
withValueWhenUnset(StringValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a
String parameter when a value has not been
set. |
public void setParameterValueType(String parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
parameterValueType
- The value type determines whether the parameter is a single-value or multi-value parameter.ParameterValueType
public String getParameterValueType()
The value type determines whether the parameter is a single-value or multi-value parameter.
ParameterValueType
public StringParameterDeclaration withParameterValueType(String parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
parameterValueType
- The value type determines whether the parameter is a single-value or multi-value parameter.ParameterValueType
public StringParameterDeclaration withParameterValueType(ParameterValueType parameterValueType)
The value type determines whether the parameter is a single-value or multi-value parameter.
parameterValueType
- The value type determines whether the parameter is a single-value or multi-value parameter.ParameterValueType
public void setName(String name)
The name of the parameter that is being declared.
name
- The name of the parameter that is being declared.public String getName()
The name of the parameter that is being declared.
public StringParameterDeclaration withName(String name)
The name of the parameter that is being declared.
name
- The name of the parameter that is being declared.public void setDefaultValues(StringDefaultValues defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
defaultValues
- The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default
value can be provided.public StringDefaultValues getDefaultValues()
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
public StringParameterDeclaration withDefaultValues(StringDefaultValues defaultValues)
The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default value can be provided.
defaultValues
- The default values of a parameter. If the parameter is a single-value parameter, a maximum of one default
value can be provided.public void setValueWhenUnset(StringValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a String
parameter when a value has not been
set.
valueWhenUnset
- The configuration that defines the default value of a String
parameter when a value has not
been set.public StringValueWhenUnsetConfiguration getValueWhenUnset()
The configuration that defines the default value of a String
parameter when a value has not been
set.
String
parameter when a value has not
been set.public StringParameterDeclaration withValueWhenUnset(StringValueWhenUnsetConfiguration valueWhenUnset)
The configuration that defines the default value of a String
parameter when a value has not been
set.
valueWhenUnset
- The configuration that defines the default value of a String
parameter when a value has not
been set.public String toString()
toString
in class Object
Object.toString()
public StringParameterDeclaration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.