Interface CreateLabelGroupRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLabelGroupRequest.Builder,CreateLabelGroupRequest>,LookoutEquipmentRequest.Builder,SdkBuilder<CreateLabelGroupRequest.Builder,CreateLabelGroupRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLabelGroupRequest
public static interface CreateLabelGroupRequest.Builder extends LookoutEquipmentRequest.Builder, SdkPojo, CopyableBuilder<CreateLabelGroupRequest.Builder,CreateLabelGroupRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateLabelGroupRequest.BuilderclientToken(String clientToken)A unique identifier for the request to create a label group.CreateLabelGroupRequest.BuilderfaultCodes(String... faultCodes)The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.CreateLabelGroupRequest.BuilderfaultCodes(Collection<String> faultCodes)The acceptable fault codes (indicating the type of anomaly associated with the label) that can be used with this label group.CreateLabelGroupRequest.BuilderlabelGroupName(String labelGroupName)Names a group of labels.CreateLabelGroupRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLabelGroupRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLabelGroupRequest.Buildertags(Collection<Tag> tags)Tags that provide metadata about the label group you are creating.CreateLabelGroupRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags that provide metadata about the label group you are creating.CreateLabelGroupRequest.Buildertags(Tag... tags)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, sdkFields
-
-
-
-
Method Detail
-
labelGroupName
CreateLabelGroupRequest.Builder labelGroupName(String 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
CreateLabelGroupRequest.Builder 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.
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
CreateLabelGroupRequest.Builder faultCodes(String... 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
CreateLabelGroupRequest.Builder clientToken(String 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
CreateLabelGroupRequest.Builder tags(Collection<Tag> 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
CreateLabelGroupRequest.Builder tags(Tag... 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
CreateLabelGroupRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateLabelGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLabelGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-