Interface TaskOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TaskOutput.Builder,,TaskOutput> SdkBuilder<TaskOutput.Builder,,TaskOutput> SdkPojo
- Enclosing class:
TaskOutput
@Mutable
@NotThreadSafe
public static interface TaskOutput.Builder
extends SdkPojo, CopyableBuilder<TaskOutput.Builder,TaskOutput>
-
Method Summary
Modifier and TypeMethodDescriptiondefault TaskOutput.BuilderchangeSet(Consumer<ChangeSetReference.Builder> changeSet) A change set that the task created.changeSet(ChangeSetReference changeSet) A change set that the task created.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
-
changeSet
A change set that the task created. Pass its
changeSetIdto GetChangeSet to read it.- Parameters:
changeSet- A change set that the task created. Pass itschangeSetIdto GetChangeSet to read it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeSet
A change set that the task created. Pass its
This is a convenience method that creates an instance of thechangeSetIdto GetChangeSet to read it.ChangeSetReference.Builderavoiding the need to create one manually viaChangeSetReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochangeSet(ChangeSetReference).- Parameters:
changeSet- a consumer that will call methods onChangeSetReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-