Interface ListObjectivesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlCatalogResponse.Builder,CopyableBuilder<ListObjectivesResponse.Builder,ListObjectivesResponse>,SdkBuilder<ListObjectivesResponse.Builder,ListObjectivesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListObjectivesResponse
public static interface ListObjectivesResponse.Builder extends ControlCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListObjectivesResponse.Builder,ListObjectivesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListObjectivesResponse.BuildernextToken(String nextToken)The pagination token that's used to fetch the next set of results.ListObjectivesResponse.Builderobjectives(Collection<ObjectiveSummary> objectives)The list of objectives that theListObjectivesAPI returns.ListObjectivesResponse.Builderobjectives(Consumer<ObjectiveSummary.Builder>... objectives)The list of objectives that theListObjectivesAPI returns.ListObjectivesResponse.Builderobjectives(ObjectiveSummary... objectives)The list of objectives that theListObjectivesAPI 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListObjectivesResponse.Builder nextToken(String 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.
-
objectives
ListObjectivesResponse.Builder objectives(Collection<ObjectiveSummary> 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
ListObjectivesResponse.Builder objectives(ObjectiveSummary... 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
ListObjectivesResponse.Builder objectives(Consumer<ObjectiveSummary.Builder>... 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 to#objectives(List.) - 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:
#objectives(java.util.Collection)
-
-