com.pulumi.aws.sagemaker.outputs.FeatureGroupOfflineStoreConfigS3StorageConfig Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.sagemaker.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class FeatureGroupOfflineStoreConfigS3StorageConfig {
/**
* @return The AWS Key Management Service (KMS) key ID of the key used to encrypt any objects written into the OfflineStore S3 location.
*
*/
private @Nullable String kmsKeyId;
/**
* @return The S3 path where offline records are written.
*
*/
private @Nullable String resolvedOutputS3Uri;
/**
* @return The S3 URI, or location in Amazon S3, of OfflineStore.
*
*/
private String s3Uri;
private FeatureGroupOfflineStoreConfigS3StorageConfig() {}
/**
* @return The AWS Key Management Service (KMS) key ID of the key used to encrypt any objects written into the OfflineStore S3 location.
*
*/
public Optional kmsKeyId() {
return Optional.ofNullable(this.kmsKeyId);
}
/**
* @return The S3 path where offline records are written.
*
*/
public Optional resolvedOutputS3Uri() {
return Optional.ofNullable(this.resolvedOutputS3Uri);
}
/**
* @return The S3 URI, or location in Amazon S3, of OfflineStore.
*
*/
public String s3Uri() {
return this.s3Uri;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FeatureGroupOfflineStoreConfigS3StorageConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String kmsKeyId;
private @Nullable String resolvedOutputS3Uri;
private String s3Uri;
public Builder() {}
public Builder(FeatureGroupOfflineStoreConfigS3StorageConfig defaults) {
Objects.requireNonNull(defaults);
this.kmsKeyId = defaults.kmsKeyId;
this.resolvedOutputS3Uri = defaults.resolvedOutputS3Uri;
this.s3Uri = defaults.s3Uri;
}
@CustomType.Setter
public Builder kmsKeyId(@Nullable String kmsKeyId) {
this.kmsKeyId = kmsKeyId;
return this;
}
@CustomType.Setter
public Builder resolvedOutputS3Uri(@Nullable String resolvedOutputS3Uri) {
this.resolvedOutputS3Uri = resolvedOutputS3Uri;
return this;
}
@CustomType.Setter
public Builder s3Uri(String s3Uri) {
if (s3Uri == null) {
throw new MissingRequiredPropertyException("FeatureGroupOfflineStoreConfigS3StorageConfig", "s3Uri");
}
this.s3Uri = s3Uri;
return this;
}
public FeatureGroupOfflineStoreConfigS3StorageConfig build() {
final var _resultValue = new FeatureGroupOfflineStoreConfigS3StorageConfig();
_resultValue.kmsKeyId = kmsKeyId;
_resultValue.resolvedOutputS3Uri = resolvedOutputS3Uri;
_resultValue.s3Uri = s3Uri;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy