Package software.amazon.awssdk.arns
Interface Arn.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Arn.Builder,
,Arn> SdkBuilder<Arn.Builder,
Arn>
- Enclosing class:
Arn
A builder for a
Arn
. See Arn.builder()
.-
Method Summary
Modifier and TypeMethodDescriptionDefine the ID of the AWS account that owns the resource, without the hyphens.build()
An immutable object that is created from the properties that have been set on the builder.Define the partition that the resource is in.Define the Region that the resource resides in.Define the resource identifier.Define the service name that identifies the AWS productMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
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
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
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
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
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 interfaceBuildable
- Specified by:
build
in interfaceSdkBuilder<Arn.Builder,
Arn> - Returns:
- an instance of
Arn
that is created from the builder
-