Interface ParameterObject.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ParameterObject.Builder,
,ParameterObject> SdkBuilder<ParameterObject.Builder,
,ParameterObject> SdkPojo
- Enclosing class:
ParameterObject
public static interface ParameterObject.Builder
extends SdkPojo, CopyableBuilder<ParameterObject.Builder,ParameterObject>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<ParameterAttribute> attributes) The attributes of the parameter object.attributes
(Consumer<ParameterAttribute.Builder>... attributes) The attributes of the parameter object.attributes
(ParameterAttribute... attributes) The attributes of the parameter object.The ID of the parameter object.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, sdkFields
-
Method Details
-
id
The ID of the parameter object.
- Parameters:
id
- The ID of the parameter object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes of the parameter object.
- Parameters:
attributes
- The attributes of the parameter object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes of the parameter object.
- Parameters:
attributes
- The attributes of the parameter object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
The attributes of the parameter object.
This is a convenience method that creates an instance of theParameterAttribute.Builder
avoiding the need to create one manually viaParameterAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<ParameterAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onParameterAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-