/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.finspacedata.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * The request for a CreateDataset operation * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* A token that ensures idempotency. This token expires in 10 minutes. *

*/ private String clientToken; /** *

* Display title for a FinSpace Dataset. *

*/ private String datasetTitle; /** *

* The format in which Dataset data is structured. *

* */ private String kind; /** *

* Description of a Dataset. *

*/ private String datasetDescription; /** *

* Contact information for a Dataset owner. *

*/ private DatasetOwnerInfo ownerInfo; /** *

* Permission group parameters for Dataset permissions. *

*/ private PermissionGroupParams permissionGroupParams; /** *

* The unique resource identifier for a Dataset. *

*/ private String alias; /** *

* Definition for a schema on a tabular Dataset. *

*/ private SchemaUnion schemaDefinition; /** *

* A token that ensures idempotency. This token expires in 10 minutes. *

* * @param clientToken * A token that ensures idempotency. This token expires in 10 minutes. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** *

* A token that ensures idempotency. This token expires in 10 minutes. *

* * @return A token that ensures idempotency. This token expires in 10 minutes. */ public String getClientToken() { return this.clientToken; } /** *

* A token that ensures idempotency. This token expires in 10 minutes. *

* * @param clientToken * A token that ensures idempotency. This token expires in 10 minutes. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDatasetRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** *

* Display title for a FinSpace Dataset. *

* * @param datasetTitle * Display title for a FinSpace Dataset. */ public void setDatasetTitle(String datasetTitle) { this.datasetTitle = datasetTitle; } /** *

* Display title for a FinSpace Dataset. *

* * @return Display title for a FinSpace Dataset. */ public String getDatasetTitle() { return this.datasetTitle; } /** *

* Display title for a FinSpace Dataset. *

* * @param datasetTitle * Display title for a FinSpace Dataset. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateDatasetRequest withDatasetTitle(String datasetTitle) { setDatasetTitle(datasetTitle); return this; } /** *

* The format in which Dataset data is structured. *

* * * @param kind * The format in which Dataset data is structured.

*