/* * 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.qldb.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* The Amazon Simple Storage Service (Amazon S3) bucket location in which a journal export job writes the journal * contents. *

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

* The Amazon S3 bucket name in which a journal export job writes the journal contents. *

*

* The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and * Limitations in the Amazon S3 Developer Guide. *

*/ private String bucket; /** *

* The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents. *

*

* The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in the * Amazon S3 Developer Guide. *

*

* The following are examples of valid Prefix values: *

* */ private String prefix; /** *

* The encryption settings that are used by a journal export job to write data in an Amazon S3 bucket. *

*/ private S3EncryptionConfiguration encryptionConfiguration; /** *

* The Amazon S3 bucket name in which a journal export job writes the journal contents. *

*

* The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and * Limitations in the Amazon S3 Developer Guide. *

* * @param bucket * The Amazon S3 bucket name in which a journal export job writes the journal contents.

*

* The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and * Limitations in the Amazon S3 Developer Guide. */ public void setBucket(String bucket) { this.bucket = bucket; } /** *

* The Amazon S3 bucket name in which a journal export job writes the journal contents. *

*

* The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and * Limitations in the Amazon S3 Developer Guide. *

* * @return The Amazon S3 bucket name in which a journal export job writes the journal contents.

*

* The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and * Limitations in the Amazon S3 Developer Guide. */ public String getBucket() { return this.bucket; } /** *

* The Amazon S3 bucket name in which a journal export job writes the journal contents. *

*

* The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and * Limitations in the Amazon S3 Developer Guide. *

* * @param bucket * The Amazon S3 bucket name in which a journal export job writes the journal contents.

*

* The bucket name must comply with the Amazon S3 bucket naming conventions. For more information, see Bucket Restrictions and * Limitations in the Amazon S3 Developer Guide. * @return Returns a reference to this object so that method calls can be chained together. */ public S3ExportConfiguration withBucket(String bucket) { setBucket(bucket); return this; } /** *

* The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents. *

*

* The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in the * Amazon S3 Developer Guide. *

*

* The following are examples of valid Prefix values: *

* * * @param prefix * The prefix for the Amazon S3 bucket in which a journal export job writes the journal contents.

*

* The prefix must comply with Amazon S3 key naming rules and restrictions. For more information, see Object Key and Metadata in * the Amazon S3 Developer Guide. *

*

* The following are examples of valid Prefix values: *

*