Interface CreateLabelRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLabelRequest.Builder,
,CreateLabelRequest> LookoutEquipmentRequest.Builder
,SdkBuilder<CreateLabelRequest.Builder,
,CreateLabelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLabelRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique identifier for the request to create a label.The end time of the labeled event.Indicates that a label pertains to a particular piece of equipment.Provides additional information about the label.labelGroupName
(String labelGroupName) The name of a group of labels.Metadata providing additional information about the label.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Indicates whether a labeled event represents an anomaly.rating
(LabelRating rating) Indicates whether a labeled event represents an anomaly.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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:
-
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:
-
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
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
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
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) 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
CreateLabelRequest.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.
-