@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() |
boolean |
equals(Object obj) |
WorkGroupConfiguration |
getConfiguration()
The configuration for the workgroup, which includes the location in Amazon S3 where query 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.
|
String |
getDescription()
The workgroup description.
|
String |
getName()
The workgroup name.
|
List<Tag> |
getTags()
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
|
int |
hashCode() |
void |
setConfiguration(WorkGroupConfiguration configuration)
The configuration for the workgroup, which includes the location in Amazon S3 where query 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.
|
void |
setDescription(String description)
The workgroup description.
|
void |
setName(String name)
The workgroup name.
|
void |
setTags(Collection<Tag> tags)
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
|
String |
toString()
Returns a string representation of this object.
|
CreateWorkGroupRequest |
withConfiguration(WorkGroupConfiguration configuration)
The configuration for the workgroup, which includes the location in Amazon S3 where query 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.
|
CreateWorkGroupRequest |
withDescription(String description)
The workgroup description.
|
CreateWorkGroupRequest |
withName(String name)
The workgroup name.
|
CreateWorkGroupRequest |
withTags(Collection<Tag> tags)
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
|
CreateWorkGroupRequest |
withTags(Tag... tags)
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
|
addHandlerContext, copyBaseTo, 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)
The configuration for the workgroup, which includes the location in Amazon S3 where query 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
- The configuration for the workgroup, which includes the location in Amazon S3 where query 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()
The configuration for the workgroup, which includes the location in Amazon S3 where query 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 CreateWorkGroupRequest withConfiguration(WorkGroupConfiguration configuration)
The configuration for the workgroup, which includes the location in Amazon S3 where query 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
- The configuration for the workgroup, which includes the location in Amazon S3 where query 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()
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
public void setTags(Collection<Tag> tags)
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
tags
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it.public CreateWorkGroupRequest withTags(Tag... tags)
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
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
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it.public CreateWorkGroupRequest withTags(Collection<Tag> tags)
One or more tags, separated by commas, that you want to attach to the workgroup as you create it.
tags
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it.public String toString()
toString
in class Object
Object.toString()
public CreateWorkGroupRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.