Interface ChangeTagsForResourceRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>, Route53Request.Builder, SdkBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ChangeTagsForResourceRequest

public static interface ChangeTagsForResourceRequest.Builder extends Route53Request.Builder, SdkPojo, CopyableBuilder<ChangeTagsForResourceRequest.Builder,ChangeTagsForResourceRequest>
  • Method Details

    • resourceType

      ChangeTagsForResourceRequest.Builder resourceType(String resourceType)

      The type of the resource.

      • The resource type for health checks is healthcheck.

      • The resource type for hosted zones is hostedzone.

      Parameters:
      resourceType - The type of the resource.

      • The resource type for health checks is healthcheck.

      • The resource type for hosted zones is hostedzone.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceType

      The type of the resource.

      • The resource type for health checks is healthcheck.

      • The resource type for hosted zones is hostedzone.

      Parameters:
      resourceType - The type of the resource.

      • The resource type for health checks is healthcheck.

      • The resource type for hosted zones is hostedzone.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceId

      The ID of the resource for which you want to add, change, or delete tags.

      Parameters:
      resourceId - The ID of the resource for which you want to add, change, or delete tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addTags

      A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

      You can add a maximum of 10 tags to a health check or a hosted zone.

      Parameters:
      addTags - A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

      You can add a maximum of 10 tags to a health check or a hosted zone.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addTags

      A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

      You can add a maximum of 10 tags to a health check or a hosted zone.

      Parameters:
      addTags - A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

      You can add a maximum of 10 tags to a health check or a hosted zone.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addTags

      A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

      You can add a maximum of 10 tags to a health check or a hosted zone.

      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 addTags(List<Tag>).

      Parameters:
      addTags - 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:
    • removeTagKeys

      A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

      Parameters:
      removeTagKeys - A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • removeTagKeys

      ChangeTagsForResourceRequest.Builder removeTagKeys(String... removeTagKeys)

      A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

      Parameters:
      removeTagKeys - A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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