// *** 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.aws.sagemaker.outputs.FeatureGroupOfflineStoreConfigDataCatalogConfig;
import com.pulumi.aws.sagemaker.outputs.FeatureGroupOfflineStoreConfigS3StorageConfig;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class FeatureGroupOfflineStoreConfig {
    /**
     * @return The meta data of the Glue table that is autogenerated when an OfflineStore is created. See Data Catalog Config Below.
     * 
     */
    private @Nullable FeatureGroupOfflineStoreConfigDataCatalogConfig dataCatalogConfig;
    /**
     * @return Set to `true` to turn Online Store On.
     * 
     */
    private @Nullable Boolean disableGlueTableCreation;
    /**
     * @return The Amazon Simple Storage (Amazon S3) location of OfflineStore. See S3 Storage Config Below.
     * 
     */
    private FeatureGroupOfflineStoreConfigS3StorageConfig s3StorageConfig;
    /**
     * @return Format for the offline store table. Supported formats are `Glue` (Default) and Apache `Iceberg` (https://iceberg.apache.org/).
     * 
     */
    private @Nullable String tableFormat;

    private FeatureGroupOfflineStoreConfig() {}
    /**
     * @return The meta data of the Glue table that is autogenerated when an OfflineStore is created. See Data Catalog Config Below.
     * 
     */
    public Optional<FeatureGroupOfflineStoreConfigDataCatalogConfig> dataCatalogConfig() {
        return Optional.ofNullable(this.dataCatalogConfig);
    }
    /**
     * @return Set to `true` to turn Online Store On.
     * 
     */
    public Optional<Boolean> disableGlueTableCreation() {
        return Optional.ofNullable(this.disableGlueTableCreation);
    }
    /**
     * @return The Amazon Simple Storage (Amazon S3) location of OfflineStore. See S3 Storage Config Below.
     * 
     */
    public FeatureGroupOfflineStoreConfigS3StorageConfig s3StorageConfig() {
        return this.s3StorageConfig;
    }
    /**
     * @return Format for the offline store table. Supported formats are `Glue` (Default) and Apache `Iceberg` (https://iceberg.apache.org/).
     * 
     */
    public Optional<String> tableFormat() {
        return Optional.ofNullable(this.tableFormat);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(FeatureGroupOfflineStoreConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable FeatureGroupOfflineStoreConfigDataCatalogConfig dataCatalogConfig;
        private @Nullable Boolean disableGlueTableCreation;
        private FeatureGroupOfflineStoreConfigS3StorageConfig s3StorageConfig;
        private @Nullable String tableFormat;
        public Builder() {}
        public Builder(FeatureGroupOfflineStoreConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataCatalogConfig = defaults.dataCatalogConfig;
    	      this.disableGlueTableCreation = defaults.disableGlueTableCreation;
    	      this.s3StorageConfig = defaults.s3StorageConfig;
    	      this.tableFormat = defaults.tableFormat;
        }

        @CustomType.Setter
        public Builder dataCatalogConfig(@Nullable FeatureGroupOfflineStoreConfigDataCatalogConfig dataCatalogConfig) {
            this.dataCatalogConfig = dataCatalogConfig;
            return this;
        }
        @CustomType.Setter
        public Builder disableGlueTableCreation(@Nullable Boolean disableGlueTableCreation) {
            this.disableGlueTableCreation = disableGlueTableCreation;
            return this;
        }
        @CustomType.Setter
        public Builder s3StorageConfig(FeatureGroupOfflineStoreConfigS3StorageConfig s3StorageConfig) {
            this.s3StorageConfig = Objects.requireNonNull(s3StorageConfig);
            return this;
        }
        @CustomType.Setter
        public Builder tableFormat(@Nullable String tableFormat) {
            this.tableFormat = tableFormat;
            return this;
        }
        public FeatureGroupOfflineStoreConfig build() {
            final var o = new FeatureGroupOfflineStoreConfig();
            o.dataCatalogConfig = dataCatalogConfig;
            o.disableGlueTableCreation = disableGlueTableCreation;
            o.s3StorageConfig = s3StorageConfig;
            o.tableFormat = tableFormat;
            return o;
        }
    }
}
