@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkGroupConfigurationUpdates extends Object implements Serializable, Cloneable, StructuredPojo
The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.
Constructor and Description |
---|
WorkGroupConfigurationUpdates() |
Modifier and Type | Method and Description |
---|---|
WorkGroupConfigurationUpdates |
clone() |
boolean |
equals(Object obj) |
Long |
getBytesScannedCutoffPerQuery()
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
|
Boolean |
getEnforceWorkGroupConfiguration()
If set to "true", the settings for the workgroup override client-side settings.
|
EngineVersion |
getEngineVersion()
The engine version requested when a workgroup is updated.
|
Boolean |
getPublishCloudWatchMetricsEnabled()
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
|
Boolean |
getRemoveBytesScannedCutoffPerQuery()
Indicates that the data usage control limit per query is removed.
|
Boolean |
getRequesterPaysEnabled()
If set to
true , allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. |
ResultConfigurationUpdates |
getResultConfigurationUpdates()
The result configuration information about the queries in this workgroup that will be updated.
|
int |
hashCode() |
Boolean |
isEnforceWorkGroupConfiguration()
If set to "true", the settings for the workgroup override client-side settings.
|
Boolean |
isPublishCloudWatchMetricsEnabled()
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
|
Boolean |
isRemoveBytesScannedCutoffPerQuery()
Indicates that the data usage control limit per query is removed.
|
Boolean |
isRequesterPaysEnabled()
If set to
true , allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
|
void |
setEnforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration)
If set to "true", the settings for the workgroup override client-side settings.
|
void |
setEngineVersion(EngineVersion engineVersion)
The engine version requested when a workgroup is updated.
|
void |
setPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
|
void |
setRemoveBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery)
Indicates that the data usage control limit per query is removed.
|
void |
setRequesterPaysEnabled(Boolean requesterPaysEnabled)
If set to
true , allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. |
void |
setResultConfigurationUpdates(ResultConfigurationUpdates resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated.
|
String |
toString()
Returns a string representation of this object.
|
WorkGroupConfigurationUpdates |
withBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
|
WorkGroupConfigurationUpdates |
withEnforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration)
If set to "true", the settings for the workgroup override client-side settings.
|
WorkGroupConfigurationUpdates |
withEngineVersion(EngineVersion engineVersion)
The engine version requested when a workgroup is updated.
|
WorkGroupConfigurationUpdates |
withPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
|
WorkGroupConfigurationUpdates |
withRemoveBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery)
Indicates that the data usage control limit per query is removed.
|
WorkGroupConfigurationUpdates |
withRequesterPaysEnabled(Boolean requesterPaysEnabled)
If set to
true , allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. |
WorkGroupConfigurationUpdates |
withResultConfigurationUpdates(ResultConfigurationUpdates resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated.
|
public void setEnforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration)
If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
enforceWorkGroupConfiguration
- If set to "true", the settings for the workgroup override client-side settings. If set to "false"
client-side settings are used. For more information, see Workgroup Settings
Override Client-Side Settings.public Boolean getEnforceWorkGroupConfiguration()
If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
public WorkGroupConfigurationUpdates withEnforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration)
If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
enforceWorkGroupConfiguration
- If set to "true", the settings for the workgroup override client-side settings. If set to "false"
client-side settings are used. For more information, see Workgroup Settings
Override Client-Side Settings.public Boolean isEnforceWorkGroupConfiguration()
If set to "true", the settings for the workgroup override client-side settings. If set to "false" client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings.
public void setResultConfigurationUpdates(ResultConfigurationUpdates resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
resultConfigurationUpdates
- The result configuration information about the queries in this workgroup that will be updated. Includes
the updated results location and an updated option for encrypting query results.public ResultConfigurationUpdates getResultConfigurationUpdates()
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
public WorkGroupConfigurationUpdates withResultConfigurationUpdates(ResultConfigurationUpdates resultConfigurationUpdates)
The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.
resultConfigurationUpdates
- The result configuration information about the queries in this workgroup that will be updated. Includes
the updated results location and an updated option for encrypting query results.public void setPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
publishCloudWatchMetricsEnabled
- Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.public Boolean getPublishCloudWatchMetricsEnabled()
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
public WorkGroupConfigurationUpdates withPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
publishCloudWatchMetricsEnabled
- Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.public Boolean isPublishCloudWatchMetricsEnabled()
Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.
public void setBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
bytesScannedCutoffPerQuery
- The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.public Long getBytesScannedCutoffPerQuery()
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
public WorkGroupConfigurationUpdates withBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
bytesScannedCutoffPerQuery
- The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.public void setRemoveBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery)
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
removeBytesScannedCutoffPerQuery
- Indicates that the data usage control limit per query is removed.
WorkGroupConfiguration$BytesScannedCutoffPerQuerypublic Boolean getRemoveBytesScannedCutoffPerQuery()
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
public WorkGroupConfigurationUpdates withRemoveBytesScannedCutoffPerQuery(Boolean removeBytesScannedCutoffPerQuery)
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
removeBytesScannedCutoffPerQuery
- Indicates that the data usage control limit per query is removed.
WorkGroupConfiguration$BytesScannedCutoffPerQuerypublic Boolean isRemoveBytesScannedCutoffPerQuery()
Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery
public void setRequesterPaysEnabled(Boolean requesterPaysEnabled)
If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. If set to false
, workgroup members cannot query data from Requester Pays buckets, and
queries that retrieve data from Requester Pays buckets cause an error. The default is false
. For
more information about Requester Pays buckets, see Requester Pays Buckets in
the Amazon Simple Storage Service Developer Guide.
requesterPaysEnabled
- If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays
buckets in queries. If set to false
, workgroup members cannot query data from Requester Pays
buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is
false
. For more information about Requester Pays buckets, see Requester Pays
Buckets in the Amazon Simple Storage Service Developer Guide.public Boolean getRequesterPaysEnabled()
If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. If set to false
, workgroup members cannot query data from Requester Pays buckets, and
queries that retrieve data from Requester Pays buckets cause an error. The default is false
. For
more information about Requester Pays buckets, see Requester Pays Buckets in
the Amazon Simple Storage Service Developer Guide.
true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays
buckets in queries. If set to false
, workgroup members cannot query data from Requester Pays
buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is
false
. For more information about Requester Pays buckets, see Requester Pays
Buckets in the Amazon Simple Storage Service Developer Guide.public WorkGroupConfigurationUpdates withRequesterPaysEnabled(Boolean requesterPaysEnabled)
If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. If set to false
, workgroup members cannot query data from Requester Pays buckets, and
queries that retrieve data from Requester Pays buckets cause an error. The default is false
. For
more information about Requester Pays buckets, see Requester Pays Buckets in
the Amazon Simple Storage Service Developer Guide.
requesterPaysEnabled
- If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays
buckets in queries. If set to false
, workgroup members cannot query data from Requester Pays
buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is
false
. For more information about Requester Pays buckets, see Requester Pays
Buckets in the Amazon Simple Storage Service Developer Guide.public Boolean isRequesterPaysEnabled()
If set to true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays buckets
in queries. If set to false
, workgroup members cannot query data from Requester Pays buckets, and
queries that retrieve data from Requester Pays buckets cause an error. The default is false
. For
more information about Requester Pays buckets, see Requester Pays Buckets in
the Amazon Simple Storage Service Developer Guide.
true
, allows members assigned to a workgroup to specify Amazon S3 Requester Pays
buckets in queries. If set to false
, workgroup members cannot query data from Requester Pays
buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is
false
. For more information about Requester Pays buckets, see Requester Pays
Buckets in the Amazon Simple Storage Service Developer Guide.public void setEngineVersion(EngineVersion engineVersion)
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on
the requested engine version. If no value was previously set, the default is Auto. Queries on the
AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.
engineVersion
- The engine version requested when a workgroup is updated. After the update, all queries on the workgroup
run on the requested engine version. If no value was previously set, the default is Auto. Queries on the
AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this
setting.public EngineVersion getEngineVersion()
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on
the requested engine version. If no value was previously set, the default is Auto. Queries on the
AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.
AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this
setting.public WorkGroupConfigurationUpdates withEngineVersion(EngineVersion engineVersion)
The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on
the requested engine version. If no value was previously set, the default is Auto. Queries on the
AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this setting.
engineVersion
- The engine version requested when a workgroup is updated. After the update, all queries on the workgroup
run on the requested engine version. If no value was previously set, the default is Auto. Queries on the
AmazonAthenaPreviewFunctionality
workgroup run on the preview engine regardless of this
setting.public String toString()
toString
in class Object
Object.toString()
public WorkGroupConfigurationUpdates clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.