/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* A Changeset is unit of data in a Dataset. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ChangesetSummary implements Serializable, Cloneable, StructuredPojo { /** *

* The unique identifier for a Changeset. *

*/ private String changesetId; /** *

* The ARN identifier of the Changeset. *

*/ private String changesetArn; /** *

* The unique identifier for the FinSpace Dataset in which the Changeset is created. *

*/ private String datasetId; /** *

* Type that indicates how a Changeset is applied to a Dataset. *

* */ private String changeType; /** *

* Options that define the location of the data being ingested. *

*/ private java.util.Map sourceParams; /** *

* Options that define the structure of the source file(s). *

*/ private java.util.Map formatParams; /** *

* The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in * milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

*/ private Long createTime; /** *

* Status of the Changeset ingestion. *

* */ private String status; /** *

* The structure with error messages. *

*/ private ChangesetErrorInfo errorInfo; /** *

* Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the * value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

*/ private Long activeUntilTimestamp; /** *

* Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For * example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000. *

*/ private Long activeFromTimestamp; /** *

* The unique identifier of the Changeset that is updated. *

*/ private String updatesChangesetId; /** *

* The unique identifier of the updated Changeset. *

*/ private String updatedByChangesetId; /** *

* The unique identifier for a Changeset. *

* * @param changesetId * The unique identifier for a Changeset. */ public void setChangesetId(String changesetId) { this.changesetId = changesetId; } /** *

* The unique identifier for a Changeset. *

* * @return The unique identifier for a Changeset. */ public String getChangesetId() { return this.changesetId; } /** *

* The unique identifier for a Changeset. *

* * @param changesetId * The unique identifier for a Changeset. * @return Returns a reference to this object so that method calls can be chained together. */ public ChangesetSummary withChangesetId(String changesetId) { setChangesetId(changesetId); return this; } /** *

* The ARN identifier of the Changeset. *

* * @param changesetArn * The ARN identifier of the Changeset. */ public void setChangesetArn(String changesetArn) { this.changesetArn = changesetArn; } /** *

* The ARN identifier of the Changeset. *

* * @return The ARN identifier of the Changeset. */ public String getChangesetArn() { return this.changesetArn; } /** *

* The ARN identifier of the Changeset. *

* * @param changesetArn * The ARN identifier of the Changeset. * @return Returns a reference to this object so that method calls can be chained together. */ public ChangesetSummary withChangesetArn(String changesetArn) { setChangesetArn(changesetArn); return this; } /** *

* The unique identifier for the FinSpace Dataset in which the Changeset is created. *

* * @param datasetId * The unique identifier for the FinSpace Dataset in which the Changeset is created. */ public void setDatasetId(String datasetId) { this.datasetId = datasetId; } /** *

* The unique identifier for the FinSpace Dataset in which the Changeset is created. *

* * @return The unique identifier for the FinSpace Dataset in which the Changeset is created. */ public String getDatasetId() { return this.datasetId; } /** *

* The unique identifier for the FinSpace Dataset in which the Changeset is created. *

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

* Type that indicates how a Changeset is applied to a Dataset. *

* * * @param changeType * Type that indicates how a Changeset is applied to a Dataset.

*