Interface CreateLabelGroupRequest.Builder

    • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)