Interface ParameterObject.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ParameterObject.Builder,,ParameterObject> SdkBuilder<ParameterObject.Builder,,ParameterObject> SdkPojo
- Enclosing class:
ParameterObject
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaParameterAttribute.builder().When the
Consumercompletes,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:
-