Interface CommandParameter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommandParameter.Builder,
,CommandParameter> SdkBuilder<CommandParameter.Builder,
,CommandParameter> SdkPojo
- Enclosing class:
CommandParameter
-
Method Summary
Modifier and TypeMethodDescriptiondefault CommandParameter.Builder
defaultValue
(Consumer<CommandParameterValue.Builder> defaultValue) The default value used to describe the command.defaultValue
(CommandParameterValue defaultValue) The default value used to describe the command.description
(String description) The description of the command parameter.The name of a specific parameter used in a command and command execution.default CommandParameter.Builder
The value used to describe the command.value
(CommandParameterValue value) The value used to describe the command.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of a specific parameter used in a command and command execution.
- Parameters:
name
- The name of a specific parameter used in a command and command execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value used to describe the command. When you assign a value to a parameter, it will override any default value that you had already specified.
- Parameters:
value
- The value used to describe the command. When you assign a value to a parameter, it will override any default value that you had already specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value used to describe the command. When you assign a value to a parameter, it will override any default value that you had already specified.
This is a convenience method that creates an instance of theCommandParameterValue.Builder
avoiding the need to create one manually viaCommandParameterValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalue(CommandParameterValue)
.- Parameters:
value
- a consumer that will call methods onCommandParameterValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultValue
The default value used to describe the command. This is the value assumed by the parameter if no other value is assigned to it.
- Parameters:
defaultValue
- The default value used to describe the command. This is the value assumed by the parameter if no other value is assigned to it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
The default value used to describe the command. This is the value assumed by the parameter if no other value is assigned to it.
This is a convenience method that creates an instance of theCommandParameterValue.Builder
avoiding the need to create one manually viaCommandParameterValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultValue(CommandParameterValue)
.- Parameters:
defaultValue
- a consumer that will call methods onCommandParameterValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the command parameter.
- Parameters:
description
- The description of the command parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-