Interface CreateLabelRequest.Builder

  • Method Details

    • 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

      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

      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

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.