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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLabelGroupsResponse.BuilderlabelGroupSummaries(Collection<LabelGroupSummary> labelGroupSummaries)A summary of the label groups.ListLabelGroupsResponse.BuilderlabelGroupSummaries(Consumer<LabelGroupSummary.Builder>... labelGroupSummaries)A summary of the label groups.ListLabelGroupsResponse.BuilderlabelGroupSummaries(LabelGroupSummary... labelGroupSummaries)A summary of the label groups.ListLabelGroupsResponse.BuildernextToken(String nextToken)An opaque pagination token indicating where to continue the listing of label groups.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentResponse.Builder
build, responseMetadata, responseMetadata
-
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
ListLabelGroupsResponse.Builder nextToken(String 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
ListLabelGroupsResponse.Builder labelGroupSummaries(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
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 to#labelGroupSummaries(List.) - 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:
#labelGroupSummaries(java.util.Collection)
-
-