All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.athena.model.ResultConfigurationUpdates Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Athena module holds the client classes that are used for communicating with Amazon Athena Service

The newest version!
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.athena.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* The information about the updates in the query results, such as output location and encryption configuration for the * query results. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ResultConfigurationUpdates implements Serializable, Cloneable, StructuredPojo { /** *

* The location in Amazon S3 where your query and calculation results are stored, such as * s3://path/to/query/bucket/. 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. See WorkGroupConfiguration$EnforceWorkGroupConfiguration. *

*/ private String outputLocation; /** *

* 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 Workgroup Settings Override * Client-Side Settings. *

*/ private Boolean removeOutputLocation; /** *

* The encryption configuration for query and calculation results. *

*/ private EncryptionConfiguration encryptionConfiguration; /** *

* 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 Workgroup Settings Override * Client-Side Settings. *

*/ private Boolean removeEncryptionConfiguration; /** *

* The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by * ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner * when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon * Web Services 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 the ExpectedBucketOwner * setting that is specified for the workgroup, and also uses the location for storing query results specified in * the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override * Client-Side Settings. *

*/ private String expectedBucketOwner; /** *

* If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the * ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the * ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings Override * Client-Side Settings. *

*/ private Boolean removeExpectedBucketOwner; /** *

* The ACL configuration for the query results. *

*/ private AclConfiguration aclConfiguration; /** *

* If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the AclConfiguration * in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override * Client-Side Settings. *

*/ private Boolean removeAclConfiguration; /** *

* The location in Amazon S3 where your query and calculation results are stored, such as * s3://path/to/query/bucket/. 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. See WorkGroupConfiguration$EnforceWorkGroupConfiguration. *

* * @param outputLocation * The location in Amazon S3 where your query and calculation results are stored, such as * s3://path/to/query/bucket/. 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. See * WorkGroupConfiguration$EnforceWorkGroupConfiguration. */ public void setOutputLocation(String outputLocation) { this.outputLocation = outputLocation; } /** *

* The location in Amazon S3 where your query and calculation results are stored, such as * s3://path/to/query/bucket/. 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. See WorkGroupConfiguration$EnforceWorkGroupConfiguration. *

* * @return The location in Amazon S3 where your query and calculation results are stored, such as * s3://path/to/query/bucket/. 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. See * WorkGroupConfiguration$EnforceWorkGroupConfiguration. */ public String getOutputLocation() { return this.outputLocation; } /** *

* The location in Amazon S3 where your query and calculation results are stored, such as * s3://path/to/query/bucket/. 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. See WorkGroupConfiguration$EnforceWorkGroupConfiguration. *

* * @param outputLocation * The location in Amazon S3 where your query and calculation results are stored, such as * s3://path/to/query/bucket/. 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. See * WorkGroupConfiguration$EnforceWorkGroupConfiguration. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withOutputLocation(String outputLocation) { setOutputLocation(outputLocation); return this; } /** *

* 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 Workgroup Settings Override * Client-Side Settings. *

* * @param 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 * Workgroup * Settings Override Client-Side Settings. */ public void setRemoveOutputLocation(Boolean removeOutputLocation) { this.removeOutputLocation = 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 Workgroup Settings Override * Client-Side Settings. *

* * @return 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 Workgroup * Settings Override Client-Side Settings. */ public Boolean getRemoveOutputLocation() { return this.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 Workgroup Settings Override * Client-Side Settings. *

* * @param 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 * Workgroup * Settings Override Client-Side Settings. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withRemoveOutputLocation(Boolean removeOutputLocation) { setRemoveOutputLocation(removeOutputLocation); return this; } /** *

* 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 Workgroup Settings Override * Client-Side Settings. *

* * @return 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 Workgroup * Settings Override Client-Side Settings. */ public Boolean isRemoveOutputLocation() { return this.removeOutputLocation; } /** *

* The encryption configuration for query and calculation results. *

* * @param encryptionConfiguration * The encryption configuration for query and calculation results. */ public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) { this.encryptionConfiguration = encryptionConfiguration; } /** *

* The encryption configuration for query and calculation results. *

* * @return The encryption configuration for query and calculation results. */ public EncryptionConfiguration getEncryptionConfiguration() { return this.encryptionConfiguration; } /** *

* The encryption configuration for query and calculation results. *

* * @param encryptionConfiguration * The encryption configuration for query and calculation results. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) { setEncryptionConfiguration(encryptionConfiguration); return this; } /** *

* 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 Workgroup Settings Override * Client-Side Settings. *

* * @param 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 Workgroup Settings * Override Client-Side Settings. */ public void setRemoveEncryptionConfiguration(Boolean removeEncryptionConfiguration) { this.removeEncryptionConfiguration = 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 Workgroup Settings Override * Client-Side Settings. *

* * @return 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 Workgroup Settings * Override Client-Side Settings. */ public Boolean getRemoveEncryptionConfiguration() { return this.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 Workgroup Settings Override * Client-Side Settings. *

* * @param 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 Workgroup Settings * Override Client-Side Settings. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withRemoveEncryptionConfiguration(Boolean removeEncryptionConfiguration) { setRemoveEncryptionConfiguration(removeEncryptionConfiguration); return this; } /** *

* 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 Workgroup Settings Override * Client-Side Settings. *

* * @return 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 Workgroup Settings * Override Client-Side Settings. */ public Boolean isRemoveEncryptionConfiguration() { return this.removeEncryptionConfiguration; } /** *

* The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by * ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner * when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon * Web Services 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 the ExpectedBucketOwner * setting that is specified for the workgroup, and also uses the location for storing query results specified in * the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override * Client-Side Settings. *

* * @param expectedBucketOwner * The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by * ResultConfiguration$OutputLocation. If set, Athena uses the value for * ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the * ExpectedBucketOwner Amazon Web Services 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 the * ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location * for storing query results specified in the workgroup. See * WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings * Override Client-Side Settings. */ public void setExpectedBucketOwner(String expectedBucketOwner) { this.expectedBucketOwner = expectedBucketOwner; } /** *

* The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by * ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner * when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon * Web Services 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 the ExpectedBucketOwner * setting that is specified for the workgroup, and also uses the location for storing query results specified in * the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override * Client-Side Settings. *

* * @return The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by * ResultConfiguration$OutputLocation. If set, Athena uses the value for * ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the * ExpectedBucketOwner Amazon Web Services 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 the * ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location * for storing query results specified in the workgroup. See * WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings * Override Client-Side Settings. */ public String getExpectedBucketOwner() { return this.expectedBucketOwner; } /** *

* The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by * ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner * when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon * Web Services 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 the ExpectedBucketOwner * setting that is specified for the workgroup, and also uses the location for storing query results specified in * the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override * Client-Side Settings. *

* * @param expectedBucketOwner * The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by * ResultConfiguration$OutputLocation. If set, Athena uses the value for * ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the * ExpectedBucketOwner Amazon Web Services 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 the * ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location * for storing query results specified in the workgroup. See * WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings * Override Client-Side Settings. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withExpectedBucketOwner(String expectedBucketOwner) { setExpectedBucketOwner(expectedBucketOwner); return this; } /** *

* If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the * ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the * ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @param removeExpectedBucketOwner * If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in * the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), * the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with * the new value. For more information, see Workgroup Settings * Override Client-Side Settings. */ public void setRemoveExpectedBucketOwner(Boolean removeExpectedBucketOwner) { this.removeExpectedBucketOwner = removeExpectedBucketOwner; } /** *

* If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the * ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the * ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @return If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in * the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side * setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is * updated with the new value. For more information, see Workgroup Settings * Override Client-Side Settings. */ public Boolean getRemoveExpectedBucketOwner() { return this.removeExpectedBucketOwner; } /** *

* If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the * ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the * ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @param removeExpectedBucketOwner * If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in * the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), * the ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with * the new value. For more information, see Workgroup Settings * Override Client-Side Settings. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withRemoveExpectedBucketOwner(Boolean removeExpectedBucketOwner) { setRemoveExpectedBucketOwner(removeExpectedBucketOwner); return this; } /** *

* If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in the * ExpectedBucketOwner in ResultConfigurationUpdates (the client-side setting), the * ExpectedBucketOwner in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @return If set to "true", removes the Amazon Web Services account ID previously specified for * ResultConfiguration$ExpectedBucketOwner. If set to "false" or not set, and a value is present in * the ExpectedBucketOwner in ResultConfigurationUpdates (the client-side * setting), the ExpectedBucketOwner in the workgroup's ResultConfiguration is * updated with the new value. For more information, see Workgroup Settings * Override Client-Side Settings. */ public Boolean isRemoveExpectedBucketOwner() { return this.removeExpectedBucketOwner; } /** *

* The ACL configuration for the query results. *

* * @param aclConfiguration * The ACL configuration for the query results. */ public void setAclConfiguration(AclConfiguration aclConfiguration) { this.aclConfiguration = aclConfiguration; } /** *

* The ACL configuration for the query results. *

* * @return The ACL configuration for the query results. */ public AclConfiguration getAclConfiguration() { return this.aclConfiguration; } /** *

* The ACL configuration for the query results. *

* * @param aclConfiguration * The ACL configuration for the query results. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withAclConfiguration(AclConfiguration aclConfiguration) { setAclConfiguration(aclConfiguration); return this; } /** *

* If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the AclConfiguration * in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @param removeAclConfiguration * If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the * AclConfiguration in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings * Override Client-Side Settings. */ public void setRemoveAclConfiguration(Boolean removeAclConfiguration) { this.removeAclConfiguration = removeAclConfiguration; } /** *

* If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the AclConfiguration * in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @return If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the * AclConfiguration in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings * Override Client-Side Settings. */ public Boolean getRemoveAclConfiguration() { return this.removeAclConfiguration; } /** *

* If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the AclConfiguration * in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @param removeAclConfiguration * If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the * AclConfiguration in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings * Override Client-Side Settings. * @return Returns a reference to this object so that method calls can be chained together. */ public ResultConfigurationUpdates withRemoveAclConfiguration(Boolean removeAclConfiguration) { setRemoveAclConfiguration(removeAclConfiguration); return this; } /** *

* If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the AclConfiguration * in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override * Client-Side Settings. *

* * @return If set to true, indicates that the previously-specified ACL configuration 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 AclConfiguration of ResultConfigurationUpdates, the * AclConfiguration in the workgroup's ResultConfiguration is updated with the new * value. For more information, see Workgroup Settings * Override Client-Side Settings. */ public Boolean isRemoveAclConfiguration() { return this.removeAclConfiguration; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getOutputLocation() != null) sb.append("OutputLocation: ").append(getOutputLocation()).append(","); if (getRemoveOutputLocation() != null) sb.append("RemoveOutputLocation: ").append(getRemoveOutputLocation()).append(","); if (getEncryptionConfiguration() != null) sb.append("EncryptionConfiguration: ").append(getEncryptionConfiguration()).append(","); if (getRemoveEncryptionConfiguration() != null) sb.append("RemoveEncryptionConfiguration: ").append(getRemoveEncryptionConfiguration()).append(","); if (getExpectedBucketOwner() != null) sb.append("ExpectedBucketOwner: ").append(getExpectedBucketOwner()).append(","); if (getRemoveExpectedBucketOwner() != null) sb.append("RemoveExpectedBucketOwner: ").append(getRemoveExpectedBucketOwner()).append(","); if (getAclConfiguration() != null) sb.append("AclConfiguration: ").append(getAclConfiguration()).append(","); if (getRemoveAclConfiguration() != null) sb.append("RemoveAclConfiguration: ").append(getRemoveAclConfiguration()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ResultConfigurationUpdates == false) return false; ResultConfigurationUpdates other = (ResultConfigurationUpdates) obj; if (other.getOutputLocation() == null ^ this.getOutputLocation() == null) return false; if (other.getOutputLocation() != null && other.getOutputLocation().equals(this.getOutputLocation()) == false) return false; if (other.getRemoveOutputLocation() == null ^ this.getRemoveOutputLocation() == null) return false; if (other.getRemoveOutputLocation() != null && other.getRemoveOutputLocation().equals(this.getRemoveOutputLocation()) == false) return false; if (other.getEncryptionConfiguration() == null ^ this.getEncryptionConfiguration() == null) return false; if (other.getEncryptionConfiguration() != null && other.getEncryptionConfiguration().equals(this.getEncryptionConfiguration()) == false) return false; if (other.getRemoveEncryptionConfiguration() == null ^ this.getRemoveEncryptionConfiguration() == null) return false; if (other.getRemoveEncryptionConfiguration() != null && other.getRemoveEncryptionConfiguration().equals(this.getRemoveEncryptionConfiguration()) == false) return false; if (other.getExpectedBucketOwner() == null ^ this.getExpectedBucketOwner() == null) return false; if (other.getExpectedBucketOwner() != null && other.getExpectedBucketOwner().equals(this.getExpectedBucketOwner()) == false) return false; if (other.getRemoveExpectedBucketOwner() == null ^ this.getRemoveExpectedBucketOwner() == null) return false; if (other.getRemoveExpectedBucketOwner() != null && other.getRemoveExpectedBucketOwner().equals(this.getRemoveExpectedBucketOwner()) == false) return false; if (other.getAclConfiguration() == null ^ this.getAclConfiguration() == null) return false; if (other.getAclConfiguration() != null && other.getAclConfiguration().equals(this.getAclConfiguration()) == false) return false; if (other.getRemoveAclConfiguration() == null ^ this.getRemoveAclConfiguration() == null) return false; if (other.getRemoveAclConfiguration() != null && other.getRemoveAclConfiguration().equals(this.getRemoveAclConfiguration()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getOutputLocation() == null) ? 0 : getOutputLocation().hashCode()); hashCode = prime * hashCode + ((getRemoveOutputLocation() == null) ? 0 : getRemoveOutputLocation().hashCode()); hashCode = prime * hashCode + ((getEncryptionConfiguration() == null) ? 0 : getEncryptionConfiguration().hashCode()); hashCode = prime * hashCode + ((getRemoveEncryptionConfiguration() == null) ? 0 : getRemoveEncryptionConfiguration().hashCode()); hashCode = prime * hashCode + ((getExpectedBucketOwner() == null) ? 0 : getExpectedBucketOwner().hashCode()); hashCode = prime * hashCode + ((getRemoveExpectedBucketOwner() == null) ? 0 : getRemoveExpectedBucketOwner().hashCode()); hashCode = prime * hashCode + ((getAclConfiguration() == null) ? 0 : getAclConfiguration().hashCode()); hashCode = prime * hashCode + ((getRemoveAclConfiguration() == null) ? 0 : getRemoveAclConfiguration().hashCode()); return hashCode; } @Override public ResultConfigurationUpdates clone() { try { return (ResultConfigurationUpdates) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.athena.model.transform.ResultConfigurationUpdatesMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy