@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateWorkGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateWorkGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateWorkGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
WorkGroupConfiguration |
getConfiguration()
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.
|
String |
getDescription()
The workgroup description.
|
String |
getName()
The workgroup name.
|
List<Tag> |
getTags()
A list of comma separated tags to add to the workgroup that is created.
|
int |
hashCode() |
void |
setConfiguration(WorkGroupConfiguration configuration)
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.
|
void |
setDescription(String description)
The workgroup description.
|
void |
setName(String name)
The workgroup name.
|
void |
setTags(Collection<Tag> tags)
A list of comma separated tags to add to the workgroup that is created.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkGroupRequest |
withConfiguration(WorkGroupConfiguration configuration)
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.
|
CreateWorkGroupRequest |
withDescription(String description)
The workgroup description.
|
CreateWorkGroupRequest |
withName(String name)
The workgroup name.
|
CreateWorkGroupRequest |
withTags(Collection<Tag> tags)
A list of comma separated tags to add to the workgroup that is created.
|
CreateWorkGroupRequest |
withTags(Tag... tags)
A list of comma separated tags to add to the workgroup that is created.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The workgroup name.
name
- The workgroup name.public String getName()
The workgroup name.
public CreateWorkGroupRequest withName(String name)
The workgroup name.
name
- The workgroup name.public void setConfiguration(WorkGroupConfiguration configuration)
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena
SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored,
the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics
are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified,
and whether workgroup's settings (specified with EnforceWorkGroupConfiguration
) in the
WorkGroupConfiguration
override client-side settings. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
configuration
- Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.
Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results
are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon
CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per
query, if it is specified, and whether workgroup's settings (specified with
EnforceWorkGroupConfiguration
) in the WorkGroupConfiguration
override
client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.public WorkGroupConfiguration getConfiguration()
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena
SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored,
the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics
are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified,
and whether workgroup's settings (specified with EnforceWorkGroupConfiguration
) in the
WorkGroupConfiguration
override client-side settings. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
EnforceWorkGroupConfiguration
) in the WorkGroupConfiguration
override
client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.public CreateWorkGroupRequest withConfiguration(WorkGroupConfiguration configuration)
Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup. Athena
SQL workgroup configuration includes the location in Amazon S3 where query and calculation results are stored,
the encryption configuration, if any, used for encrypting query results, whether the Amazon CloudWatch Metrics
are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per query, if it is specified,
and whether workgroup's settings (specified with EnforceWorkGroupConfiguration
) in the
WorkGroupConfiguration
override client-side settings. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.
configuration
- Contains configuration information for creating an Athena SQL workgroup or Spark enabled Athena workgroup.
Athena SQL workgroup configuration includes the location in Amazon S3 where query and calculation results
are stored, the encryption configuration, if any, used for encrypting query results, whether the Amazon
CloudWatch Metrics are enabled for the workgroup, the limit for the amount of bytes scanned (cutoff) per
query, if it is specified, and whether workgroup's settings (specified with
EnforceWorkGroupConfiguration
) in the WorkGroupConfiguration
override
client-side settings. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.public void setDescription(String description)
The workgroup description.
description
- The workgroup description.public String getDescription()
The workgroup description.
public CreateWorkGroupRequest withDescription(String description)
The workgroup description.
description
- The workgroup description.public List<Tag> getTags()
A list of comma separated tags to add to the workgroup that is created.
public void setTags(Collection<Tag> tags)
A list of comma separated tags to add to the workgroup that is created.
tags
- A list of comma separated tags to add to the workgroup that is created.public CreateWorkGroupRequest withTags(Tag... tags)
A list of comma separated tags to add to the workgroup that is created.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of comma separated tags to add to the workgroup that is created.public CreateWorkGroupRequest withTags(Collection<Tag> tags)
A list of comma separated tags to add to the workgroup that is created.
tags
- A list of comma separated tags to add to the workgroup that is created.public String toString()
toString
in class Object
Object.toString()
public CreateWorkGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()