public static interface DocumentParameter.Builder extends CopyableBuilder<DocumentParameter.Builder,DocumentParameter>
Modifier and Type | Method and Description |
---|---|
DocumentParameter.Builder |
defaultValue(String defaultValue)
If specified, the default values for the parameters.
|
DocumentParameter.Builder |
description(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.Builder |
name(String name)
The name of the parameter.
|
DocumentParameter.Builder |
type(DocumentParameterType type)
The type of parameter.
|
DocumentParameter.Builder |
type(String type)
The type of parameter.
|
copy
apply, build
DocumentParameter.Builder name(String name)
The name of the parameter.
name
- The name of the parameter.DocumentParameter.Builder type(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
,
DocumentParameterType
DocumentParameter.Builder type(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
,
DocumentParameterType
DocumentParameter.Builder description(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.DocumentParameter.Builder defaultValue(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.