Interface UpdateGoalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateGoalResponse.Builder,,UpdateGoalResponse> DevOpsAgentResponse.Builder,SdkBuilder<UpdateGoalResponse.Builder,,UpdateGoalResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateGoalResponse
@Mutable
@NotThreadSafe
public static interface UpdateGoalResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<UpdateGoalResponse.Builder,UpdateGoalResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateGoalResponse.Buildergoal(Consumer<Goal.Builder> goal) The updated goal objectThe updated goal objectMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devopsagent.model.DevOpsAgentResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
goal
The updated goal object
- Parameters:
goal- The updated goal object- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
goal
The updated goal object
This is a convenience method that creates an instance of theGoal.Builderavoiding the need to create one manually viaGoal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togoal(Goal).- Parameters:
goal- a consumer that will call methods onGoal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-