Interface Arn.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Arn.Builder,Arn>, SdkBuilder<Arn.Builder,Arn>
Enclosing class:
Arn

public static interface Arn.Builder extends CopyableBuilder<Arn.Builder,Arn>
A builder for a Arn. See Arn.builder().
  • Method Details

    • partition

      Arn.Builder partition(String partition)
      Define the partition that the resource is in.
      Parameters:
      partition - the partition that the resource is in
      Returns:
      Returns a reference to this builder
    • service

      Arn.Builder service(String service)
      Define the service name that identifies the AWS product
      Parameters:
      service - The service name that identifies the AWS product
      Returns:
      Returns a reference to this builder
    • region

      Arn.Builder region(String region)
      Define the Region that the resource resides in.
      Parameters:
      region - The Region that the resource resides in.
      Returns:
      Returns a reference to this builder
    • accountId

      Arn.Builder accountId(String accountId)
      Define the ID of the AWS account that owns the resource, without the hyphens.
      Parameters:
      accountId - The ID of the AWS account that owns the resource, without the hyphens.
      Returns:
      Returns a reference to this builder
    • resource

      Arn.Builder resource(String resource)
      Define the resource identifier. A resource identifier can be the name or ID of the resource or a resource path.
      Parameters:
      resource - resource identifier
      Returns:
      Returns a reference to this builder
    • build

      Arn build()
      Description copied from interface: SdkBuilder
      An immutable object that is created from the properties that have been set on the builder.
      Specified by:
      build in interface Buildable
      Specified by:
      build in interface SdkBuilder<Arn.Builder,Arn>
      Returns:
      an instance of Arn that is created from the builder