@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
getFormat()
Specifies the file format of a dataset created from an S3 file or folder.
|
FormatOptions |
getFormatOptions() |
Input |
getInput() |
String |
getName()
The name of the dataset to be created.
|
Map<String,String> |
getTags()
Metadata tags to apply to this dataset.
|
int |
hashCode() |
void |
setFormat(String format)
Specifies the file format of a dataset created from an S3 file or folder.
|
void |
setFormatOptions(FormatOptions formatOptions) |
void |
setInput(Input input) |
void |
setName(String name)
The name of the dataset to be created.
|
void |
setTags(Map<String,String> tags)
Metadata tags to apply to this dataset.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetRequest |
withFormat(InputFormat format)
Specifies the file format of a dataset created from an S3 file or folder.
|
CreateDatasetRequest |
withFormat(String format)
Specifies the file format of a dataset created from an S3 file or folder.
|
CreateDatasetRequest |
withFormatOptions(FormatOptions formatOptions) |
CreateDatasetRequest |
withInput(Input input) |
CreateDatasetRequest |
withName(String name)
The name of the dataset to be created.
|
CreateDatasetRequest |
withTags(Map<String,String> tags)
Metadata tags to apply to this dataset.
|
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 name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-),
period (.), and space.public String getName()
The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
public CreateDatasetRequest withName(String name)
The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- The name of the dataset to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-),
period (.), and space.public void setFormat(String format)
Specifies the file format of a dataset created from an S3 file or folder.
format
- Specifies the file format of a dataset created from an S3 file or folder.InputFormat
public String getFormat()
Specifies the file format of a dataset created from an S3 file or folder.
InputFormat
public CreateDatasetRequest withFormat(String format)
Specifies the file format of a dataset created from an S3 file or folder.
format
- Specifies the file format of a dataset created from an S3 file or folder.InputFormat
public CreateDatasetRequest withFormat(InputFormat format)
Specifies the file format of a dataset created from an S3 file or folder.
format
- Specifies the file format of a dataset created from an S3 file or folder.InputFormat
public void setFormatOptions(FormatOptions formatOptions)
formatOptions
- public FormatOptions getFormatOptions()
public CreateDatasetRequest withFormatOptions(FormatOptions formatOptions)
formatOptions
- public void setInput(Input input)
input
- public Input getInput()
public CreateDatasetRequest withInput(Input input)
input
- public Map<String,String> getTags()
Metadata tags to apply to this dataset.
public void setTags(Map<String,String> tags)
Metadata tags to apply to this dataset.
tags
- Metadata tags to apply to this dataset.public CreateDatasetRequest withTags(Map<String,String> tags)
Metadata tags to apply to this dataset.
tags
- Metadata tags to apply to this dataset.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()