@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResultConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. These are known as "client-side settings". If workgroup settings override client-side settings, then the query uses the workgroup settings.
Constructor and Description |
---|
ResultConfiguration() |
Modifier and Type | Method and Description |
---|---|
ResultConfiguration |
clone() |
boolean |
equals(Object obj) |
EncryptionConfiguration |
getEncryptionConfiguration()
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS ) and key information. |
String |
getOutputLocation()
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/ . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS ) and key information. |
void |
setOutputLocation(String outputLocation)
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/ . |
String |
toString()
Returns a string representation of this object.
|
ResultConfiguration |
withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS or CSE-KMS ) and key information. |
ResultConfiguration |
withOutputLocation(String outputLocation)
The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/ . |
public void setOutputLocation(String 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. If
none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results. If workgroup settings
override client-side settings, then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
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. If none of them is set, Athena issues an error that no
output location is provided. For more information, see Query Results. If workgroup settings
override client-side settings, then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.public String getOutputLocation()
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. If
none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results. If workgroup settings
override client-side settings, then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
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. If none of them is set, Athena issues an error that no
output location is provided. For more information, see Query Results. If workgroup
settings override client-side settings, then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.public ResultConfiguration withOutputLocation(String 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. If
none of them is set, Athena issues an error that no output location is provided. For more information, see Query Results. If workgroup settings
override client-side settings, then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
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. If none of them is set, Athena issues an error that no
output location is provided. For more information, see Query Results. If workgroup settings
override client-side settings, then the query uses the settings specified for the workgroup. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.public void setEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS
or CSE-KMS
) and key information. This is a client-side setting. If workgroup
settings override client-side settings, then the query uses the encryption configuration 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.
encryptionConfiguration
- If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS
or CSE-KMS
) and key information. This is a client-side setting. If
workgroup settings override client-side settings, then the query uses the encryption configuration 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 EncryptionConfiguration getEncryptionConfiguration()
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS
or CSE-KMS
) and key information. This is a client-side setting. If workgroup
settings override client-side settings, then the query uses the encryption configuration 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.
SSE-KMS
or CSE-KMS
) and key information. This is a client-side setting. If
workgroup settings override client-side settings, then the query uses the encryption configuration 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 ResultConfiguration withEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS
or CSE-KMS
) and key information. This is a client-side setting. If workgroup
settings override client-side settings, then the query uses the encryption configuration 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.
encryptionConfiguration
- If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE-KMS
or CSE-KMS
) and key information. This is a client-side setting. If
workgroup settings override client-side settings, then the query uses the encryption configuration 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 toString()
toString
in class Object
Object.toString()
public ResultConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.