@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDataSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request body for CreateDataSet.
NOOP
Constructor and Description |
---|
CreateDataSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDataSetRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateDataSetRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateDataSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssetType()
The type of file your data is stored in.
|
String |
getDescription()
A description for the data set.
|
String |
getName()
The name of the data set.
|
Map<String,String> |
getTags()
A data set tag is an optional label that you can assign to a data set when you create it.
|
int |
hashCode() |
void |
setAssetType(String assetType)
The type of file your data is stored in.
|
void |
setDescription(String description)
A description for the data set.
|
void |
setName(String name)
The name of the data set.
|
void |
setTags(Map<String,String> tags)
A data set tag is an optional label that you can assign to a data set when you create it.
|
String |
toString()
Returns a string representation of this object.
|
CreateDataSetRequest |
withAssetType(AssetType assetType)
The type of file your data is stored in.
|
CreateDataSetRequest |
withAssetType(String assetType)
The type of file your data is stored in.
|
CreateDataSetRequest |
withDescription(String description)
A description for the data set.
|
CreateDataSetRequest |
withName(String name)
The name of the data set.
|
CreateDataSetRequest |
withTags(Map<String,String> tags)
A data set tag is an optional label that you can assign to a data set when you create it.
|
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 setAssetType(String assetType)
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
assetType
- The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.AssetType
public String getAssetType()
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
AssetType
public CreateDataSetRequest withAssetType(String assetType)
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
assetType
- The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.AssetType
public CreateDataSetRequest withAssetType(AssetType assetType)
The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.
assetType
- The type of file your data is stored in. Currently, the supported asset type is S3_SNAPSHOT.AssetType
public void setDescription(String description)
A description for the data set. This value can be up to 16,348 characters long.
description
- A description for the data set. This value can be up to 16,348 characters long.public String getDescription()
A description for the data set. This value can be up to 16,348 characters long.
public CreateDataSetRequest withDescription(String description)
A description for the data set. This value can be up to 16,348 characters long.
description
- A description for the data set. This value can be up to 16,348 characters long.public void setName(String name)
The name of the data set.
name
- The name of the data set.public String getName()
The name of the data set.
public CreateDataSetRequest withName(String name)
The name of the data set.
name
- The name of the data set.public Map<String,String> getTags()
A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
public void setTags(Map<String,String> tags)
A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
tags
- A data set tag is an optional label that you can assign to a data set when you create it. Each tag
consists of a key and an optional value, both of which you define. When you use tagging, you can also use
tag-based access control in IAM policies to control access to these data sets and revisions.public CreateDataSetRequest withTags(Map<String,String> tags)
A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.
tags
- A data set tag is an optional label that you can assign to a data set when you create it. Each tag
consists of a key and an optional value, both of which you define. When you use tagging, you can also use
tag-based access control in IAM policies to control access to these data sets and revisions.public CreateDataSetRequest addTagsEntry(String key, String value)
public CreateDataSetRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateDataSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()