Class CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.athena.CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroup.ResultConfigurationUpdatesProperty>
- Enclosing interface:
CfnWorkGroup.ResultConfigurationUpdatesProperty
@Stability(Stable)
public static final class CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroup.ResultConfigurationUpdatesProperty>
A builder for
CfnWorkGroup.ResultConfigurationUpdatesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaclConfiguration(IResolvable aclConfiguration) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getAclConfiguration()aclConfiguration(CfnWorkGroup.AclConfigurationProperty aclConfiguration) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getAclConfiguration()build()Builds the configured instance.encryptionConfiguration(IResolvable encryptionConfiguration) encryptionConfiguration(CfnWorkGroup.EncryptionConfigurationProperty encryptionConfiguration) expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getExpectedBucketOwner()outputLocation(String outputLocation) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getOutputLocation()removeAclConfiguration(Boolean removeAclConfiguration) removeAclConfiguration(IResolvable removeAclConfiguration) removeEncryptionConfiguration(Boolean removeEncryptionConfiguration) removeEncryptionConfiguration(IResolvable removeEncryptionConfiguration) removeExpectedBucketOwner(Boolean removeExpectedBucketOwner) removeExpectedBucketOwner(IResolvable removeExpectedBucketOwner) removeOutputLocation(Boolean removeOutputLocation) removeOutputLocation(IResolvable removeOutputLocation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aclConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder aclConfiguration(IResolvable aclConfiguration) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getAclConfiguration()- Parameters:
aclConfiguration- Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results.- Returns:
this
-
aclConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder aclConfiguration(CfnWorkGroup.AclConfigurationProperty aclConfiguration) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getAclConfiguration()- Parameters:
aclConfiguration- Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) - Parameters:
encryptionConfiguration- If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS or CSE-KMS) and key information.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder encryptionConfiguration(CfnWorkGroup.EncryptionConfigurationProperty encryptionConfiguration) - Parameters:
encryptionConfiguration- If query results are encrypted in Amazon S3, indicates the encryption option used (for example, SSE-KMS or CSE-KMS) and key information.- Returns:
this
-
expectedBucketOwner
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getExpectedBucketOwner()- Parameters:
expectedBucketOwner- The AWS account ID of the owner of S3 bucket where query results are stored.- Returns:
this
-
outputLocation
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder outputLocation(String outputLocation) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getOutputLocation()- Parameters:
outputLocation- The location in Amazon S3 where your query results are stored, such as s3://path/to/query/bucket/. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration- Returns:
this
-
removeAclConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeAclConfiguration(Boolean removeAclConfiguration) - Parameters:
removeAclConfiguration- the value to be set.- Returns:
this
-
removeAclConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeAclConfiguration(IResolvable removeAclConfiguration) - Parameters:
removeAclConfiguration- the value to be set.- Returns:
this
-
removeEncryptionConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeEncryptionConfiguration(Boolean removeEncryptionConfiguration) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getRemoveEncryptionConfiguration()- Parameters:
removeEncryptionConfiguration- the value to be set.- Returns:
this
-
removeEncryptionConfiguration
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeEncryptionConfiguration(IResolvable removeEncryptionConfiguration) Sets the value ofCfnWorkGroup.ResultConfigurationUpdatesProperty.getRemoveEncryptionConfiguration()- Parameters:
removeEncryptionConfiguration- the value to be set.- Returns:
this
-
removeExpectedBucketOwner
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeExpectedBucketOwner(Boolean removeExpectedBucketOwner) - Parameters:
removeExpectedBucketOwner- the value to be set.- Returns:
this
-
removeExpectedBucketOwner
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeExpectedBucketOwner(IResolvable removeExpectedBucketOwner) - Parameters:
removeExpectedBucketOwner- the value to be set.- Returns:
this
-
removeOutputLocation
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeOutputLocation(Boolean removeOutputLocation) - Parameters:
removeOutputLocation- the value to be set.- Returns:
this
-
removeOutputLocation
@Stability(Stable) public CfnWorkGroup.ResultConfigurationUpdatesProperty.Builder removeOutputLocation(IResolvable removeOutputLocation) - Parameters:
removeOutputLocation- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroup.ResultConfigurationUpdatesProperty>- Returns:
- a new instance of
CfnWorkGroup.ResultConfigurationUpdatesProperty - Throws:
NullPointerException- if any required attribute was not provided
-