Interface CreateLabelGroupRequest.Builder

  • Method Details

    • 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

      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

      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

      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

      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<Tag>).

      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:
    • overrideConfiguration

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