Package software.amazon.awssdk.arns
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 aArn. SeeArn.builder().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Arn.BuilderaccountId(String accountId)Define the ID of the AWS account that owns the resource, without the hyphens.Arnbuild()Arn.Builderpartition(String partition)Define the partition that the resource is in.Arn.Builderregion(String region)Define the Region that the resource resides in.Arn.Builderresource(String resource)Define the resource identifier.Arn.Builderservice(String service)Define the service name that identifies the AWS product-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
-
-
-
Method Detail
-
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()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<Arn.Builder,Arn>- Returns:
- an instance of
Arnthat is created from the builder
-
-