/* * 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.dataexchange.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Details of the operation to be performed by the job. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ExportRevisionsToS3RequestDetails implements Serializable, Cloneable, StructuredPojo { /** ** The unique identifier for the data set associated with this export job. *
*/ private String dataSetId; /** ** Encryption configuration for the export job. *
*/ private ExportServerSideEncryption encryption; /** ** The destination for the revision. *
*/ private java.util.List* The unique identifier for the data set associated with this export job. *
* * @param dataSetId * The unique identifier for the data set associated with this export job. */ public void setDataSetId(String dataSetId) { this.dataSetId = dataSetId; } /** ** The unique identifier for the data set associated with this export job. *
* * @return The unique identifier for the data set associated with this export job. */ public String getDataSetId() { return this.dataSetId; } /** ** The unique identifier for the data set associated with this export job. *
* * @param dataSetId * The unique identifier for the data set associated with this export job. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportRevisionsToS3RequestDetails withDataSetId(String dataSetId) { setDataSetId(dataSetId); return this; } /** ** Encryption configuration for the export job. *
* * @param encryption * Encryption configuration for the export job. */ public void setEncryption(ExportServerSideEncryption encryption) { this.encryption = encryption; } /** ** Encryption configuration for the export job. *
* * @return Encryption configuration for the export job. */ public ExportServerSideEncryption getEncryption() { return this.encryption; } /** ** Encryption configuration for the export job. *
* * @param encryption * Encryption configuration for the export job. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportRevisionsToS3RequestDetails withEncryption(ExportServerSideEncryption encryption) { setEncryption(encryption); return this; } /** ** The destination for the revision. *
* * @return The destination for the revision. */ public java.util.List* The destination for the revision. *
* * @param revisionDestinations * The destination for the revision. */ public void setRevisionDestinations(java.util.Collection* The destination for the revision. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRevisionDestinations(java.util.Collection)} or {@link #withRevisionDestinations(java.util.Collection)} * if you want to override the existing values. *
* * @param revisionDestinations * The destination for the revision. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportRevisionsToS3RequestDetails withRevisionDestinations(RevisionDestinationEntry... revisionDestinations) { if (this.revisionDestinations == null) { setRevisionDestinations(new java.util.ArrayList* The destination for the revision. *
* * @param revisionDestinations * The destination for the revision. * @return Returns a reference to this object so that method calls can be chained together. */ public ExportRevisionsToS3RequestDetails withRevisionDestinations(java.util.Collection