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