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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterObject.Builderattributes(Collection<ParameterAttribute> attributes)The attributes of the parameter object.ParameterObject.Builderattributes(Consumer<ParameterAttribute.Builder>... attributes)The attributes of the parameter object.ParameterObject.Builderattributes(ParameterAttribute... attributes)The attributes of the parameter object.ParameterObject.Builderid(String id)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 Detail
-
id
ParameterObject.Builder id(String 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
ParameterObject.Builder attributes(Collection<ParameterAttribute> 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
ParameterObject.Builder attributes(ParameterAttribute... 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
ParameterObject.Builder attributes(Consumer<ParameterAttribute.Builder>... 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 to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-