Interface CreateLabelGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLabelGroupRequest.Builder,
,CreateLabelGroupRequest> LookoutEquipmentRequest.Builder
,SdkBuilder<CreateLabelGroupRequest.Builder,
,CreateLabelGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLabelGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique identifier for the request to create a label group.faultCodes
(String... faultCodes) The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.faultCodes
(Collection<String> faultCodes) The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.labelGroupName
(String labelGroupName) Names a group of labels.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Tags that provide metadata about the label group you are creating.tags
(Consumer<Tag.Builder>... tags) Tags that provide metadata about the label group you are creating.Tags that provide metadata about the label group you are creating.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutequipment.model.LookoutEquipmentRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
labelGroupName
Names a group of labels.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
labelGroupName
- Names a group of labels.Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faultCodes
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
faultCodes
- The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faultCodes
The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
faultCodes
- The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.
- Parameters:
clientToken
- A unique identifier for the request to create a label group. If you do not set the client request token, Lookout for Equipment generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
tags
- Tags that provide metadata about the label group you are creating.Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
tags
- Tags that provide metadata about the label group you are creating.Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags that provide metadata about the label group you are creating.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLabelGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLabelGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-