Interface ChangeInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ChangeInput.Builder,
,ChangeInput> SdkBuilder<ChangeInput.Builder,
,ChangeInput> SdkPojo
- Enclosing class:
ChangeInput
@Mutable
@NotThreadSafe
public static interface ChangeInput.Builder
extends SdkPojo, CopyableBuilder<ChangeInput.Builder,ChangeInput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChangeInput.Builder
specification
(Consumer<ChangeSpecification.Builder> specification) The specification details for the change.specification
(ChangeSpecification specification) The specification details for the change.specificationType
(String specificationType) The type of specification for the change.specificationType
(ChangeSpecificationType specificationType) The type of specification for the change.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
-
specificationType
The type of specification for the change. Currently supports
MEMBER
for member-related changes.- Parameters:
specificationType
- The type of specification for the change. Currently supportsMEMBER
for member-related changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specificationType
The type of specification for the change. Currently supports
MEMBER
for member-related changes.- Parameters:
specificationType
- The type of specification for the change. Currently supportsMEMBER
for member-related changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specification
The specification details for the change. The structure depends on the specification type.
- Parameters:
specification
- The specification details for the change. The structure depends on the specification type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
specification
The specification details for the change. The structure depends on the specification type.
This is a convenience method that creates an instance of theChangeSpecification.Builder
avoiding the need to create one manually viaChangeSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospecification(ChangeSpecification)
.- Parameters:
specification
- a consumer that will call methods onChangeSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-