@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAthenaWorkGroupDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an Amazon Athena workgroup.
Constructor and Description |
---|
AwsAthenaWorkGroupDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAthenaWorkGroupDetails |
clone() |
boolean |
equals(Object obj) |
AwsAthenaWorkGroupConfigurationDetails |
getConfiguration()
The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3)
where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch
metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is
specified.
|
String |
getDescription()
The workgroup description.
|
String |
getName()
The workgroup name.
|
String |
getState()
Whether the workgroup is enabled or disabled.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(AwsAthenaWorkGroupConfigurationDetails configuration)
The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3)
where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch
metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is
specified.
|
void |
setDescription(String description)
The workgroup description.
|
void |
setName(String name)
The workgroup name.
|
void |
setState(String state)
Whether the workgroup is enabled or disabled.
|
String |
toString()
Returns a string representation of this object.
|
AwsAthenaWorkGroupDetails |
withConfiguration(AwsAthenaWorkGroupConfigurationDetails configuration)
The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3)
where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch
metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is
specified.
|
AwsAthenaWorkGroupDetails |
withDescription(String description)
The workgroup description.
|
AwsAthenaWorkGroupDetails |
withName(String name)
The workgroup name.
|
AwsAthenaWorkGroupDetails |
withState(String state)
Whether the workgroup is enabled or disabled.
|
public void setName(String name)
The workgroup name.
name
- The workgroup name.public String getName()
The workgroup name.
public AwsAthenaWorkGroupDetails withName(String name)
The workgroup name.
name
- The workgroup name.public void setDescription(String description)
The workgroup description.
description
- The workgroup description.public String getDescription()
The workgroup description.
public AwsAthenaWorkGroupDetails withDescription(String description)
The workgroup description.
description
- The workgroup description.public void setState(String state)
Whether the workgroup is enabled or disabled.
state
- Whether the workgroup is enabled or disabled.public String getState()
Whether the workgroup is enabled or disabled.
public AwsAthenaWorkGroupDetails withState(String state)
Whether the workgroup is enabled or disabled.
state
- Whether the workgroup is enabled or disabled.public void setConfiguration(AwsAthenaWorkGroupConfigurationDetails configuration)
The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.
configuration
- The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon
S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon
CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff)
per query, if it is specified.public AwsAthenaWorkGroupConfigurationDetails getConfiguration()
The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.
public AwsAthenaWorkGroupDetails withConfiguration(AwsAthenaWorkGroupConfigurationDetails configuration)
The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.
configuration
- The configuration of the workgroup, which includes the location in Amazon Simple Storage Service (Amazon
S3) where query results are stored, the encryption option, if any, used for query results, whether Amazon
CloudWatch metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff)
per query, if it is specified.public String toString()
toString
in class Object
Object.toString()
public AwsAthenaWorkGroupDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.