Interface CreateLabelRequest.Builder

    • 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.