/* * 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 an UpdateDataset operation * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateDatasetRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

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

*/ private String clientToken; /** *

* The unique identifier for the Dataset to update. *

*/ private String datasetId; /** *

* A display title for the Dataset. *

*/ private String datasetTitle; /** *

* The format in which the Dataset data is structured. *

* */ private String kind; /** *

* A description for the Dataset. *

*/ private String datasetDescription; /** *

* 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 UpdateDatasetRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** *

* The unique identifier for the Dataset to update. *

* * @param datasetId * The unique identifier for the Dataset to update. */ public void setDatasetId(String datasetId) { this.datasetId = datasetId; } /** *

* The unique identifier for the Dataset to update. *

* * @return The unique identifier for the Dataset to update. */ public String getDatasetId() { return this.datasetId; } /** *

* The unique identifier for the Dataset to update. *

* * @param datasetId * The unique identifier for the Dataset to update. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateDatasetRequest withDatasetId(String datasetId) { setDatasetId(datasetId); return this; } /** *

* A display title for the Dataset. *

* * @param datasetTitle * A display title for the Dataset. */ public void setDatasetTitle(String datasetTitle) { this.datasetTitle = datasetTitle; } /** *

* A display title for the Dataset. *

* * @return A display title for the Dataset. */ public String getDatasetTitle() { return this.datasetTitle; } /** *

* A display title for the Dataset. *

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

* The format in which the Dataset data is structured. *

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

*