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

* The Amazon Simple Storage (Amazon S3) location and and security configuration for OfflineStore. *

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

* The S3 URI, or location in Amazon S3, of OfflineStore. *

*

* S3 URIs have a format similar to the following: s3://example-bucket/prefix/. *

*/ private String s3Uri; /** *

* The Amazon Web Services Key Management Service (KMS) key ARN of the key used to encrypt any objects written into * the OfflineStore S3 location. *

*

* The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have below * permissions to the KmsKeyId: *

* */ private String kmsKeyId; /** *

* The S3 path where offline records are written. *

*/ private String resolvedOutputS3Uri; /** *

* The S3 URI, or location in Amazon S3, of OfflineStore. *

*

* S3 URIs have a format similar to the following: s3://example-bucket/prefix/. *

* * @param s3Uri * The S3 URI, or location in Amazon S3, of OfflineStore.

*

* S3 URIs have a format similar to the following: s3://example-bucket/prefix/. */ public void setS3Uri(String s3Uri) { this.s3Uri = s3Uri; } /** *

* The S3 URI, or location in Amazon S3, of OfflineStore. *

*

* S3 URIs have a format similar to the following: s3://example-bucket/prefix/. *

* * @return The S3 URI, or location in Amazon S3, of OfflineStore.

*

* S3 URIs have a format similar to the following: s3://example-bucket/prefix/. */ public String getS3Uri() { return this.s3Uri; } /** *

* The S3 URI, or location in Amazon S3, of OfflineStore. *

*

* S3 URIs have a format similar to the following: s3://example-bucket/prefix/. *

* * @param s3Uri * The S3 URI, or location in Amazon S3, of OfflineStore.

*

* S3 URIs have a format similar to the following: s3://example-bucket/prefix/. * @return Returns a reference to this object so that method calls can be chained together. */ public S3StorageConfig withS3Uri(String s3Uri) { setS3Uri(s3Uri); return this; } /** *

* The Amazon Web Services Key Management Service (KMS) key ARN of the key used to encrypt any objects written into * the OfflineStore S3 location. *

*

* The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have below * permissions to the KmsKeyId: *

* * * @param kmsKeyId * The Amazon Web Services Key Management Service (KMS) key ARN of the key used to encrypt any objects * written into the OfflineStore S3 location.

*

* The IAM roleARN that is passed as a parameter to CreateFeatureGroup must have * below permissions to the KmsKeyId: *

*