@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkGroupConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration of the 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 and whether workgroup settings override query settings, and the data usage limit for the amount of data scanned per query, if it is specified. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
Constructor and Description |
---|
WorkGroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
WorkGroupConfiguration |
clone() |
boolean |
equals(Object obj) |
Long |
getBytesScannedCutoffPerQuery()
The upper data usage 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.
|
Boolean |
getPublishCloudWatchMetricsEnabled()
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
ResultConfiguration |
getResultConfiguration()
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and
the encryption option, if any, used for query results.
|
int |
hashCode() |
Boolean |
isEnforceWorkGroupConfiguration()
If set to "true", the settings for the workgroup override client-side settings.
|
Boolean |
isPublishCloudWatchMetricsEnabled()
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper data usage 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 |
setPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
void |
setResultConfiguration(ResultConfiguration resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and
the encryption option, if any, used for query results.
|
String |
toString()
Returns a string representation of this object.
|
WorkGroupConfiguration |
withBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
|
WorkGroupConfiguration |
withEnforceWorkGroupConfiguration(Boolean enforceWorkGroupConfiguration)
If set to "true", the settings for the workgroup override client-side settings.
|
WorkGroupConfiguration |
withPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
|
WorkGroupConfiguration |
withResultConfiguration(ResultConfiguration resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and
the encryption option, if any, used for query results.
|
public void setResultConfiguration(ResultConfiguration resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results.
resultConfiguration
- The configuration for the workgroup, which includes the location in Amazon S3 where query results are
stored and the encryption option, if any, used for query results.public ResultConfiguration getResultConfiguration()
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results.
public WorkGroupConfiguration withResultConfiguration(ResultConfiguration resultConfiguration)
The configuration for the workgroup, which includes the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results.
resultConfiguration
- The configuration for the workgroup, which includes the location in Amazon S3 where query results are
stored and the encryption option, if any, used for query results.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 WorkGroupConfiguration 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 setPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
publishCloudWatchMetricsEnabled
- Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.public Boolean getPublishCloudWatchMetricsEnabled()
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
public WorkGroupConfiguration withPublishCloudWatchMetricsEnabled(Boolean publishCloudWatchMetricsEnabled)
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
publishCloudWatchMetricsEnabled
- Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.public Boolean isPublishCloudWatchMetricsEnabled()
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
public void setBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
bytesScannedCutoffPerQuery
- The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to
scan.public Long getBytesScannedCutoffPerQuery()
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
public WorkGroupConfiguration withBytesScannedCutoffPerQuery(Long bytesScannedCutoffPerQuery)
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
bytesScannedCutoffPerQuery
- The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to
scan.public String toString()
toString
in class Object
Object.toString()
public WorkGroupConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.