@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateDatasetResult() |
Modifier and Type | Method and Description |
---|---|
CreateDatasetResult |
clone() |
boolean |
equals(Object obj) |
String |
getDatasetArn()
The ARN of the dataset.
|
String |
getDatasetName()
The name of the dataset.
|
RetentionPeriod |
getRetentionPeriod()
How long, in days, dataset contents are kept for the dataset.
|
int |
hashCode() |
void |
setDatasetArn(String datasetArn)
The ARN of the dataset.
|
void |
setDatasetName(String datasetName)
The name of the dataset.
|
void |
setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetResult |
withDatasetArn(String datasetArn)
The ARN of the dataset.
|
CreateDatasetResult |
withDatasetName(String datasetName)
The name of the dataset.
|
CreateDatasetResult |
withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDatasetName(String datasetName)
The name of the dataset.
datasetName
- The name of the dataset.public String getDatasetName()
The name of the dataset.
public CreateDatasetResult withDatasetName(String datasetName)
The name of the dataset.
datasetName
- The name of the dataset.public void setDatasetArn(String datasetArn)
The ARN of the dataset.
datasetArn
- The ARN of the dataset.public String getDatasetArn()
The ARN of the dataset.
public CreateDatasetResult withDatasetArn(String datasetArn)
The ARN of the dataset.
datasetArn
- The ARN of the dataset.public void setRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
retentionPeriod
- How long, in days, dataset contents are kept for the dataset.public RetentionPeriod getRetentionPeriod()
How long, in days, dataset contents are kept for the dataset.
public CreateDatasetResult withRetentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, dataset contents are kept for the dataset.
retentionPeriod
- How long, in days, dataset contents are kept for the dataset.public String toString()
toString
in class Object
Object.toString()
public CreateDatasetResult clone()