Interface CreateLabelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLabelRequest.Builder,CreateLabelRequest>,LookoutEquipmentRequest.Builder,SdkBuilder<CreateLabelRequest.Builder,CreateLabelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLabelRequest
public static interface CreateLabelRequest.Builder extends LookoutEquipmentRequest.Builder, SdkPojo, CopyableBuilder<CreateLabelRequest.Builder,CreateLabelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateLabelRequest.BuilderclientToken(String clientToken)A unique identifier for the request to create a label.CreateLabelRequest.BuilderendTime(Instant endTime)The end time of the labeled event.CreateLabelRequest.Builderequipment(String equipment)Indicates that a label pertains to a particular piece of equipment.CreateLabelRequest.BuilderfaultCode(String faultCode)Provides additional information about the label.CreateLabelRequest.BuilderlabelGroupName(String labelGroupName)The name of a group of labels.CreateLabelRequest.Buildernotes(String notes)Metadata providing additional information about the label.CreateLabelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLabelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLabelRequest.Builderrating(String rating)Indicates whether a labeled event represents an anomaly.CreateLabelRequest.Builderrating(LabelRating rating)Indicates whether a labeled event represents an anomaly.CreateLabelRequest.BuilderstartTime(Instant startTime)The start time of the labeled event.-
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
CreateLabelRequest.Builder labelGroupName(String labelGroupName)
The name of 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- The name of 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.
-
startTime
CreateLabelRequest.Builder startTime(Instant startTime)
The start time of the labeled event.
- Parameters:
startTime- The start time of the labeled event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
CreateLabelRequest.Builder endTime(Instant endTime)
The end time of the labeled event.
- Parameters:
endTime- The end time of the labeled event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rating
CreateLabelRequest.Builder rating(String rating)
Indicates whether a labeled event represents an anomaly.
- Parameters:
rating- Indicates whether a labeled event represents an anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelRating,LabelRating
-
rating
CreateLabelRequest.Builder rating(LabelRating rating)
Indicates whether a labeled event represents an anomaly.
- Parameters:
rating- Indicates whether a labeled event represents an anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LabelRating,LabelRating
-
faultCode
CreateLabelRequest.Builder faultCode(String faultCode)
Provides additional information about the label. The fault code must be defined in the FaultCodes attribute of the label group.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
faultCode- Provides additional information about the label. The fault code must be defined in the FaultCodes attribute of the 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.
-
notes
CreateLabelRequest.Builder notes(String notes)
Metadata providing additional information about the label.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
notes- Metadata providing additional information about the label.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.
-
equipment
CreateLabelRequest.Builder equipment(String equipment)
Indicates that a label pertains to a particular piece of equipment.
Data in this field will be retained for service usage. Follow best practices for the security of your data.
- Parameters:
equipment- Indicates that a label pertains to a particular piece of equipment.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
CreateLabelRequest.Builder clientToken(String clientToken)
A unique identifier for the request to create a label. 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. 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.
-
overrideConfiguration
CreateLabelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLabelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-