Interface ListLabelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListLabelsResponse.Builder,ListLabelsResponse>,LookoutEquipmentResponse.Builder,SdkBuilder<ListLabelsResponse.Builder,ListLabelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListLabelsResponse
public static interface ListLabelsResponse.Builder extends LookoutEquipmentResponse.Builder, SdkPojo, CopyableBuilder<ListLabelsResponse.Builder,ListLabelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLabelsResponse.BuilderlabelSummaries(Collection<LabelSummary> labelSummaries)A summary of the items in the label group.ListLabelsResponse.BuilderlabelSummaries(Consumer<LabelSummary.Builder>... labelSummaries)A summary of the items in the label group.ListLabelsResponse.BuilderlabelSummaries(LabelSummary... labelSummaries)A summary of the items in the label group.ListLabelsResponse.BuildernextToken(String nextToken)An opaque pagination token indicating where to continue the listing of datasets.-
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
ListLabelsResponse.Builder nextToken(String nextToken)
An opaque pagination token indicating where to continue the listing of datasets.
- Parameters:
nextToken- An opaque pagination token indicating where to continue the listing of datasets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelSummaries
ListLabelsResponse.Builder labelSummaries(Collection<LabelSummary> labelSummaries)
A summary of the items in the label group.
If you don't supply the
LabelGroupNamerequest parameter, or if you supply the name of a label group that doesn't exist,ListLabelsreturns an empty array inLabelSummaries.- Parameters:
labelSummaries- A summary of the items in the label group.If you don't supply the
LabelGroupNamerequest parameter, or if you supply the name of a label group that doesn't exist,ListLabelsreturns an empty array inLabelSummaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelSummaries
ListLabelsResponse.Builder labelSummaries(LabelSummary... labelSummaries)
A summary of the items in the label group.
If you don't supply the
LabelGroupNamerequest parameter, or if you supply the name of a label group that doesn't exist,ListLabelsreturns an empty array inLabelSummaries.- Parameters:
labelSummaries- A summary of the items in the label group.If you don't supply the
LabelGroupNamerequest parameter, or if you supply the name of a label group that doesn't exist,ListLabelsreturns an empty array inLabelSummaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelSummaries
ListLabelsResponse.Builder labelSummaries(Consumer<LabelSummary.Builder>... labelSummaries)
A summary of the items in the label group.
This is a convenience method that creates an instance of theIf you don't supply the
LabelGroupNamerequest parameter, or if you supply the name of a label group that doesn't exist,ListLabelsreturns an empty array inLabelSummaries.LabelSummary.Builderavoiding the need to create one manually viaLabelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#labelSummaries(List.) - Parameters:
labelSummaries- a consumer that will call methods onLabelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#labelSummaries(java.util.Collection)
-
-