@Stability(value=Experimental) public static final class AwsDestination.Builder extends Object implements software.amazon.jsii.Builder<AwsDestination>
AwsDestination| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AwsDestination.Builder |
assumeRoleArn(String assumeRoleArn)
Sets the value of
AwsDestination.getAssumeRoleArn() |
AwsDestination.Builder |
assumeRoleExternalId(String assumeRoleExternalId)
Sets the value of
AwsDestination.getAssumeRoleExternalId() |
AwsDestination |
build()
Builds the configured instance.
|
AwsDestination.Builder |
region(String region)
Sets the value of
AwsDestination.getRegion() |
@Stability(value=Experimental) public AwsDestination.Builder assumeRoleArn(String assumeRoleArn)
AwsDestination.getAssumeRoleArn()assumeRoleArn - The role that needs to be assumed while publishing this asset.this@Stability(value=Experimental) public AwsDestination.Builder assumeRoleExternalId(String assumeRoleExternalId)
AwsDestination.getAssumeRoleExternalId()assumeRoleExternalId - The ExternalId that needs to be supplied while assuming this role.this@Stability(value=Experimental) public AwsDestination.Builder region(String region)
AwsDestination.getRegion()region - The region where this asset will need to be published.this@Stability(value=Experimental) public AwsDestination build()
build in interface software.amazon.jsii.Builder<AwsDestination>AwsDestinationNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.