Interface DeploymentSpecificationsField.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeploymentSpecificationsField.Builder,
,DeploymentSpecificationsField> SdkBuilder<DeploymentSpecificationsField.Builder,
,DeploymentSpecificationsField> SdkPojo
- Enclosing class:
DeploymentSpecificationsField
@Mutable
@NotThreadSafe
public static interface DeploymentSpecificationsField.Builder
extends SdkPojo, CopyableBuilder<DeploymentSpecificationsField.Builder,DeploymentSpecificationsField>
-
Method Summary
Modifier and TypeMethodDescriptionallowedValues
(String... allowedValues) The allowed values of the deployment specification.allowedValues
(Collection<String> allowedValues) The allowed values of the deployment specification.conditionals
(Collection<DeploymentConditionalField> conditionals) The conditionals used for the deployment specification.conditionals
(Consumer<DeploymentConditionalField.Builder>... conditionals) The conditionals used for the deployment specification.conditionals
(DeploymentConditionalField... conditionals) The conditionals used for the deployment specification.description
(String description) The description of the deployment specification.The name of the deployment specification.Indicates if the deployment specification is required.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
-
allowedValues
The allowed values of the deployment specification.
- Parameters:
allowedValues
- The allowed values of the deployment specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedValues
The allowed values of the deployment specification.
- Parameters:
allowedValues
- The allowed values of the deployment specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditionals
DeploymentSpecificationsField.Builder conditionals(Collection<DeploymentConditionalField> conditionals) The conditionals used for the deployment specification.
- Parameters:
conditionals
- The conditionals used for the deployment specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditionals
The conditionals used for the deployment specification.
- Parameters:
conditionals
- The conditionals used for the deployment specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conditionals
DeploymentSpecificationsField.Builder conditionals(Consumer<DeploymentConditionalField.Builder>... conditionals) The conditionals used for the deployment specification.
This is a convenience method that creates an instance of theDeploymentConditionalField.Builder
avoiding the need to create one manually viaDeploymentConditionalField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconditionals(List<DeploymentConditionalField>)
.- Parameters:
conditionals
- a consumer that will call methods onDeploymentConditionalField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the deployment specification.
- Parameters:
description
- The description of the deployment specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the deployment specification.
- Parameters:
name
- The name of the deployment specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
required
Indicates if the deployment specification is required.
- Parameters:
required
- Indicates if the deployment specification is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-