Interface ListObjectivesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlCatalogResponse.Builder,CopyableBuilder<ListObjectivesResponse.Builder,,ListObjectivesResponse> SdkBuilder<ListObjectivesResponse.Builder,,ListObjectivesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListObjectivesResponse
@Mutable
@NotThreadSafe
public static interface ListObjectivesResponse.Builder
extends ControlCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListObjectivesResponse.Builder,ListObjectivesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token that's used to fetch the next set of results.objectives(Collection<ObjectiveSummary> objectives) The list of objectives that theListObjectivesAPI returns.objectives(Consumer<ObjectiveSummary.Builder>... objectives) The list of objectives that theListObjectivesAPI returns.objectives(ObjectiveSummary... objectives) The list of objectives that theListObjectivesAPI returns.Methods inherited from interface software.amazon.awssdk.services.controlcatalog.model.ControlCatalogResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
objectives
The list of objectives that the
ListObjectivesAPI returns.- Parameters:
objectives- The list of objectives that theListObjectivesAPI returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectives
The list of objectives that the
ListObjectivesAPI returns.- Parameters:
objectives- The list of objectives that theListObjectivesAPI returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectives
The list of objectives that the
This is a convenience method that creates an instance of theListObjectivesAPI returns.ObjectiveSummary.Builderavoiding the need to create one manually viaObjectiveSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectives(List<ObjectiveSummary>).- Parameters:
objectives- a consumer that will call methods onObjectiveSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token that's used to fetch the next set of results.
- Parameters:
nextToken- The pagination token that's used to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-