Class AwsArn.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.aws.language.functions.AwsArn.Builder
-
- All Implemented Interfaces:
SmithyBuilder<AwsArn>
- Enclosing class:
- AwsArn
public static final class AwsArn.Builder extends java.lang.Object implements SmithyBuilder<AwsArn>
A builder used to create anAwsArn
class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AwsArn.Builder
accountId(java.lang.String accountId)
AwsArn
build()
Creates an immutable object that is created from the properties that have been set on the builder.AwsArn.Builder
partition(java.lang.String partition)
AwsArn.Builder
region(java.lang.String region)
AwsArn.Builder
resource(java.util.List<java.lang.String> resource)
AwsArn.Builder
service(java.lang.String service)
-
-
-
Method Detail
-
partition
public AwsArn.Builder partition(java.lang.String partition)
-
service
public AwsArn.Builder service(java.lang.String service)
-
region
public AwsArn.Builder region(java.lang.String region)
-
accountId
public AwsArn.Builder accountId(java.lang.String accountId)
-
resource
public AwsArn.Builder resource(java.util.List<java.lang.String> resource)
-
build
public AwsArn build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<AwsArn>
- Returns:
- an instance of T
-
-