Class ResultConfigurationUpdates
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ResultConfigurationUpdates.Builder,
ResultConfigurationUpdates>
The information about the updates in the query results, such as output location and encryption configuration for the query results.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AclConfiguration
The ACL configuration for the query results.builder()
final EncryptionConfiguration
The encryption configuration for query and calculation results.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The location in Amazon S3 where your query and calculation results are stored, such ass3://path/to/query/bucket/
.final Boolean
If set totrue
, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null.final Boolean
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.final Boolean
If set to "true", removes the Amazon Web Services account ID previously specified for ResultConfiguration$ExpectedBucketOwner.final Boolean
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.static Class
<? extends ResultConfigurationUpdates.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
outputLocation
The location in Amazon S3 where your query and calculation results are stored, such as
s3://path/to/query/bucket/
. For more information, see Working with query results, recent queries, and output files. 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 inEnforceWorkGroupConfiguration
(true/false) in theWorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.- Returns:
- The location in Amazon S3 where your query and calculation results are stored, such as
s3://path/to/query/bucket/
. For more information, see Working with query results, recent queries, and output files. 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 inEnforceWorkGroupConfiguration
(true/false) in theWorkGroupConfiguration
. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
-
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
inResultConfigurationUpdates
(the client-side setting), theOutputLocation
in the workgroup'sResultConfiguration
will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.- Returns:
- 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
inResultConfigurationUpdates
(the client-side setting), theOutputLocation
in the workgroup'sResultConfiguration
will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
-
encryptionConfiguration
The encryption configuration for query and calculation results.
- Returns:
- The encryption configuration for query and calculation results.
-
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
inResultConfigurationUpdates
(the client-side setting), theEncryptionConfiguration
in the workgroup'sResultConfiguration
will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.- Returns:
- 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
inResultConfigurationUpdates
(the client-side setting), theEncryptionConfiguration
in the workgroup'sResultConfiguration
will be updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
-
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 theExpectedBucketOwner
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.- Returns:
- 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 theExpectedBucketOwner
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.
-
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
inResultConfigurationUpdates
(the client-side setting), theExpectedBucketOwner
in the workgroup'sResultConfiguration
is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.- Returns:
- 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
inResultConfigurationUpdates
(the client-side setting), theExpectedBucketOwner
in the workgroup'sResultConfiguration
is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
-
aclConfiguration
The ACL configuration for the query results.
- Returns:
- The ACL configuration for the query results.
-
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 tofalse
or not set, and a value is present in theAclConfiguration
ofResultConfigurationUpdates
, theAclConfiguration
in the workgroup'sResultConfiguration
is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.- Returns:
- 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 tofalse
or not set, and a value is present in theAclConfiguration
ofResultConfigurationUpdates
, theAclConfiguration
in the workgroup'sResultConfiguration
is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResultConfigurationUpdates.Builder,
ResultConfigurationUpdates> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
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. -
getValueForField
-
sdkFields
-