Interface ListGoalsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGoalsResponse.Builder,,ListGoalsResponse> DevOpsAgentResponse.Builder,SdkBuilder<ListGoalsResponse.Builder,,ListGoalsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGoalsResponse
@Mutable
@NotThreadSafe
public static interface ListGoalsResponse.Builder
extends DevOpsAgentResponse.Builder, SdkPojo, CopyableBuilder<ListGoalsResponse.Builder,ListGoalsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongoals(Collection<Goal> goals) List of goals matching the criteriagoals(Consumer<Goal.Builder>... goals) List of goals matching the criteriaList of goals matching the criteriaPagination token for the next set of resultsMethods 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
-
goals
List of goals matching the criteria
- Parameters:
goals- List of goals matching the criteria- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
goals
List of goals matching the criteria
- Parameters:
goals- List of goals matching the criteria- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
goals
List of goals matching the criteria
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 togoals(List<Goal>).- Parameters:
goals- 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:
-
nextToken
Pagination token for the next set of results
- Parameters:
nextToken- Pagination token for the next set of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-