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

* The Amazon S3 bucket where the Amazon Web Services IoT FleetWise campaign sends data. Amazon S3 is an object storage * service that stores data as objects within buckets. For more information, see Creating, configuring, and * working with Amazon S3 buckets in the Amazon Simple Storage Service User Guide. *

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

* The Amazon Resource Name (ARN) of the Amazon S3 bucket. *

*/ private String bucketArn; /** *

* Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet or JSON * format. *

* */ private String dataFormat; /** *

* By default, stored data is compressed as a .gzip file. Compressed files have a reduced file size, which can * optimize the cost of data storage. *

*/ private String storageCompressionFormat; /** *

* (Optional) Enter an S3 bucket prefix. The prefix is the string of characters after the bucket name and before the * object name. You can use the prefix to organize data stored in Amazon S3 buckets. For more information, see Organizing objects using * prefixes in the Amazon Simple Storage Service User Guide. *

*

* By default, Amazon Web Services IoT FleetWise sets the prefix * processed-data/year=YY/month=MM/date=DD/hour=HH/ (in UTC) to data it delivers to Amazon S3. You can * enter a prefix to append it to this default prefix. For example, if you enter the prefix vehicles, * the prefix will be vehicles/processed-data/year=YY/month=MM/date=DD/hour=HH/. *

*/ private String prefix; /** *

* The Amazon Resource Name (ARN) of the Amazon S3 bucket. *

* * @param bucketArn * The Amazon Resource Name (ARN) of the Amazon S3 bucket. */ public void setBucketArn(String bucketArn) { this.bucketArn = bucketArn; } /** *

* The Amazon Resource Name (ARN) of the Amazon S3 bucket. *

* * @return The Amazon Resource Name (ARN) of the Amazon S3 bucket. */ public String getBucketArn() { return this.bucketArn; } /** *

* The Amazon Resource Name (ARN) of the Amazon S3 bucket. *

* * @param bucketArn * The Amazon Resource Name (ARN) of the Amazon S3 bucket. * @return Returns a reference to this object so that method calls can be chained together. */ public S3Config withBucketArn(String bucketArn) { setBucketArn(bucketArn); return this; } /** *

* Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet or JSON * format. *

* * * @param dataFormat * Specify the format that files are saved in the Amazon S3 bucket. You can save files in an Apache Parquet * or JSON format.

*