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 theListObjectives
API returns.objectives
(Consumer<ObjectiveSummary.Builder>... objectives) The list of objectives that theListObjectives
API returns.objectives
(ObjectiveSummary... objectives) The list of objectives that theListObjectives
API returns.Methods inherited from interface software.amazon.awssdk.services.controlcatalog.model.ControlCatalogResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
objectives
The list of objectives that the
ListObjectives
API returns.- Parameters:
objectives
- The list of objectives that theListObjectives
API returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectives
The list of objectives that the
ListObjectives
API returns.- Parameters:
objectives
- The list of objectives that theListObjectives
API 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 theListObjectives
API returns.ObjectiveSummary.Builder
avoiding the need to create one manually viaObjectiveSummary.builder()
.When the
Consumer
completes,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.
-