@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentParameter extends Object implements Serializable, Cloneable, StructuredPojo
Parameters specified in a System Manager document that execute on the server when the command is run.
Constructor and Description |
---|
DocumentParameter() |
Modifier and Type | Method and Description |
---|---|
DocumentParameter |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultValue()
If specified, the default values for the parameters.
|
String |
getDescription()
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is
optional.
|
String |
getName()
The name of the parameter.
|
String |
getType()
The type of parameter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultValue(String defaultValue)
If specified, the default values for the parameters.
|
void |
setDescription(String description)
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is
optional.
|
void |
setName(String name)
The name of the parameter.
|
void |
setType(DocumentParameterType type)
The type of parameter.
|
void |
setType(String type)
The type of parameter.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DocumentParameter |
withDefaultValue(String defaultValue)
If specified, the default values for the parameters.
|
DocumentParameter |
withDescription(String description)
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is
optional.
|
DocumentParameter |
withName(String name)
The name of the parameter.
|
DocumentParameter |
withType(DocumentParameterType type)
The type of parameter.
|
DocumentParameter |
withType(String type)
The type of parameter.
|
public void setName(String name)
The name of the parameter.
name
- The name of the parameter.public String getName()
The name of the parameter.
public DocumentParameter withName(String name)
The name of the parameter.
name
- The name of the parameter.public void setType(String type)
The type of parameter. The type can be either String or StringList.
type
- The type of parameter. The type can be either String or StringList.DocumentParameterType
public String getType()
The type of parameter. The type can be either String or StringList.
DocumentParameterType
public DocumentParameter withType(String type)
The type of parameter. The type can be either String or StringList.
type
- The type of parameter. The type can be either String or StringList.DocumentParameterType
public void setType(DocumentParameterType type)
The type of parameter. The type can be either String or StringList.
type
- The type of parameter. The type can be either String or StringList.DocumentParameterType
public DocumentParameter withType(DocumentParameterType type)
The type of parameter. The type can be either String or StringList.
type
- The type of parameter. The type can be either String or StringList.DocumentParameterType
public void setDescription(String description)
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
description
- A description of what the parameter does, how to use it, the default value, and whether or not the
parameter is optional.public String getDescription()
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
public DocumentParameter withDescription(String description)
A description of what the parameter does, how to use it, the default value, and whether or not the parameter is optional.
description
- A description of what the parameter does, how to use it, the default value, and whether or not the
parameter is optional.public void setDefaultValue(String defaultValue)
If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.
defaultValue
- If specified, the default values for the parameters. Parameters without a default value are required.
Parameters with a default value are optional.public String getDefaultValue()
If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.
public DocumentParameter withDefaultValue(String defaultValue)
If specified, the default values for the parameters. Parameters without a default value are required. Parameters with a default value are optional.
defaultValue
- If specified, the default values for the parameters. Parameters without a default value are required.
Parameters with a default value are optional.public String toString()
toString
in class Object
Object.toString()
public DocumentParameter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.