@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentParameter extends Object implements Serializable, Cloneable, StructuredPojo
A map of key-value pairs containing the patterns that need to be replaced in a managed template job document schema. You can use the description of each key as a guidance to specify the inputs during runtime when creating a job.
documentParameters
can only be used when creating jobs from Amazon Web Services managed templates. This
parameter can't be used with custom job templates or to create jobs from them.
Constructor and Description |
---|
DocumentParameter() |
Modifier and Type | Method and Description |
---|---|
DocumentParameter |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Description of the map field containing the patterns that need to be replaced in a managed template job document
schema.
|
String |
getExample()
An example illustrating a pattern that need to be replaced in a managed template job document schema.
|
String |
getKey()
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
|
Boolean |
getOptional()
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or
required.
|
String |
getRegex()
A regular expression of the patterns that need to be replaced in a managed template job document schema.
|
int |
hashCode() |
Boolean |
isOptional()
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or
required.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
Description of the map field containing the patterns that need to be replaced in a managed template job document
schema.
|
void |
setExample(String example)
An example illustrating a pattern that need to be replaced in a managed template job document schema.
|
void |
setKey(String key)
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
|
void |
setOptional(Boolean optional)
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or
required.
|
void |
setRegex(String regex)
A regular expression of the patterns that need to be replaced in a managed template job document schema.
|
String |
toString()
Returns a string representation of this object.
|
DocumentParameter |
withDescription(String description)
Description of the map field containing the patterns that need to be replaced in a managed template job document
schema.
|
DocumentParameter |
withExample(String example)
An example illustrating a pattern that need to be replaced in a managed template job document schema.
|
DocumentParameter |
withKey(String key)
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
|
DocumentParameter |
withOptional(Boolean optional)
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or
required.
|
DocumentParameter |
withRegex(String regex)
A regular expression of the patterns that need to be replaced in a managed template job document schema.
|
public void setKey(String key)
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
key
- Key of the map field containing the patterns that need to be replaced in a managed template job document
schema.public String getKey()
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
public DocumentParameter withKey(String key)
Key of the map field containing the patterns that need to be replaced in a managed template job document schema.
key
- Key of the map field containing the patterns that need to be replaced in a managed template job document
schema.public void setDescription(String description)
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
description
- Description of the map field containing the patterns that need to be replaced in a managed template job
document schema.public String getDescription()
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
public DocumentParameter withDescription(String description)
Description of the map field containing the patterns that need to be replaced in a managed template job document schema.
description
- Description of the map field containing the patterns that need to be replaced in a managed template job
document schema.public void setRegex(String regex)
A regular expression of the patterns that need to be replaced in a managed template job document schema.
regex
- A regular expression of the patterns that need to be replaced in a managed template job document schema.public String getRegex()
A regular expression of the patterns that need to be replaced in a managed template job document schema.
public DocumentParameter withRegex(String regex)
A regular expression of the patterns that need to be replaced in a managed template job document schema.
regex
- A regular expression of the patterns that need to be replaced in a managed template job document schema.public void setExample(String example)
An example illustrating a pattern that need to be replaced in a managed template job document schema.
example
- An example illustrating a pattern that need to be replaced in a managed template job document schema.public String getExample()
An example illustrating a pattern that need to be replaced in a managed template job document schema.
public DocumentParameter withExample(String example)
An example illustrating a pattern that need to be replaced in a managed template job document schema.
example
- An example illustrating a pattern that need to be replaced in a managed template job document schema.public void setOptional(Boolean optional)
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
optional
- Specifies whether a pattern that needs to be replaced in a managed template job document schema is
optional or required.public Boolean getOptional()
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
public DocumentParameter withOptional(Boolean optional)
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
optional
- Specifies whether a pattern that needs to be replaced in a managed template job document schema is
optional or required.public Boolean isOptional()
Specifies whether a pattern that needs to be replaced in a managed template job document schema is optional or required.
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.