Interface ListLabelGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLabelGroupsResponse.Builder,,ListLabelGroupsResponse> LookoutEquipmentResponse.Builder,SdkBuilder<ListLabelGroupsResponse.Builder,,ListLabelGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListLabelGroupsResponse
public static interface ListLabelGroupsResponse.Builder
extends LookoutEquipmentResponse.Builder, SdkPojo, CopyableBuilder<ListLabelGroupsResponse.Builder,ListLabelGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionlabelGroupSummaries(Collection<LabelGroupSummary> labelGroupSummaries) A summary of the label groups.labelGroupSummaries(Consumer<LabelGroupSummary.Builder>... labelGroupSummaries) A summary of the label groups.labelGroupSummaries(LabelGroupSummary... labelGroupSummaries) A summary of the label groups.An opaque pagination token indicating where to continue the listing of label groups.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
An opaque pagination token indicating where to continue the listing of label groups.
- Parameters:
nextToken- An opaque pagination token indicating where to continue the listing of label groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelGroupSummaries
ListLabelGroupsResponse.Builder labelGroupSummaries(Collection<LabelGroupSummary> labelGroupSummaries) A summary of the label groups.
- Parameters:
labelGroupSummaries- A summary of the label groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelGroupSummaries
A summary of the label groups.
- Parameters:
labelGroupSummaries- A summary of the label groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelGroupSummaries
ListLabelGroupsResponse.Builder labelGroupSummaries(Consumer<LabelGroupSummary.Builder>... labelGroupSummaries) A summary of the label groups.
This is a convenience method that creates an instance of theLabelGroupSummary.Builderavoiding the need to create one manually viaLabelGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolabelGroupSummaries(List<LabelGroupSummary>).- Parameters:
labelGroupSummaries- a consumer that will call methods onLabelGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-