Class CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.athena.CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty>
- Enclosing interface:
CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty
@Stability(Stable)
public static final class CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaclConfiguration(CfnWorkGroupPropsMixin.AclConfigurationProperty aclConfiguration) aclConfiguration(IResolvable aclConfiguration) build()Builds the configured instance.encryptionConfiguration(CfnWorkGroupPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) encryptionConfiguration(IResolvable encryptionConfiguration) expectedBucketOwner(String expectedBucketOwner) outputLocation(String outputLocation) 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 CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder aclConfiguration(IResolvable aclConfiguration) - Parameters:
aclConfiguration- The ACL configuration for the query results.- Returns:
this
-
aclConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder aclConfiguration(CfnWorkGroupPropsMixin.AclConfigurationProperty aclConfiguration) - Parameters:
aclConfiguration- The ACL configuration for the query results.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption configuration for the query results.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder encryptionConfiguration(CfnWorkGroupPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- The encryption configuration for the query results.- Returns:
this
-
expectedBucketOwner
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getExpectedBucketOwner()- Parameters:
expectedBucketOwner- The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by . If set, Athena uses the value forExpectedBucketOwnerwhen it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwnerAWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. If workgroup settings override client-side settings, then the query uses theExpectedBucketOwnersetting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See and Workgroup Settings Override Client-Side Settings .- Returns:
this
-
outputLocation
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder outputLocation(String outputLocation) - Parameters:
outputLocation- The location in Amazon S3 where your query results are stored, such ass3://path/to/query/bucket/. For more information, see Query Results If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. SeeEnforceWorkGroupConfiguration.- Returns:
this
-
removeAclConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeAclConfiguration(Boolean removeAclConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveAclConfiguration()- Parameters:
removeAclConfiguration- If set totrue, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set tofalseor not set, and a value is present in theAclConfigurationofResultConfigurationUpdates, theAclConfigurationin the workgroup'sResultConfigurationis updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .- Returns:
this
-
removeAclConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeAclConfiguration(IResolvable removeAclConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveAclConfiguration()- Parameters:
removeAclConfiguration- If set totrue, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set tofalseor not set, and a value is present in theAclConfigurationofResultConfigurationUpdates, theAclConfigurationin the workgroup'sResultConfigurationis updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .- Returns:
this
-
removeEncryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeEncryptionConfiguration(Boolean removeEncryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveEncryptionConfiguration()- Parameters:
removeEncryptionConfiguration- If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Override Client-Side Settings .- Returns:
this
-
removeEncryptionConfiguration
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeEncryptionConfiguration(IResolvable removeEncryptionConfiguration) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveEncryptionConfiguration()- Parameters:
removeEncryptionConfiguration- If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Override Client-Side Settings .- Returns:
this
-
removeExpectedBucketOwner
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeExpectedBucketOwner(Boolean removeExpectedBucketOwner) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveExpectedBucketOwner()- Parameters:
removeExpectedBucketOwner- If set to "true", removes the AWS account ID previously specified for . If set to "false" or not set, and a value is present in theExpectedBucketOwnerinResultConfigurationUpdates(the client-side setting), theExpectedBucketOwnerin the workgroup'sResultConfigurationis updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .- Returns:
this
-
removeExpectedBucketOwner
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeExpectedBucketOwner(IResolvable removeExpectedBucketOwner) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveExpectedBucketOwner()- Parameters:
removeExpectedBucketOwner- If set to "true", removes the AWS account ID previously specified for . If set to "false" or not set, and a value is present in theExpectedBucketOwnerinResultConfigurationUpdates(the client-side setting), theExpectedBucketOwnerin the workgroup'sResultConfigurationis updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .- Returns:
this
-
removeOutputLocation
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeOutputLocation(Boolean removeOutputLocation) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveOutputLocation()- Parameters:
removeOutputLocation- If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Override Client-Side Settings .- Returns:
this
-
removeOutputLocation
@Stability(Stable) public CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.Builder removeOutputLocation(IResolvable removeOutputLocation) Sets the value ofCfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty.getRemoveOutputLocation()- Parameters:
removeOutputLocation- If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null. If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Override Client-Side Settings .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty>- Returns:
- a new instance of
CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty - Throws:
NullPointerException- if any required attribute was not provided
-