// *** 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class FeatureGroupFeatureDefinition {
    /**
     * @return The name of a feature. `feature_name` cannot be any of the following: `is_deleted`, `write_time`, `api_invocation_time`.
     * 
     */
    private @Nullable String featureName;
    /**
     * @return The value type of a feature. Valid values are `Integral`, `Fractional`, or `String`.
     * 
     */
    private @Nullable String featureType;

    private FeatureGroupFeatureDefinition() {}
    /**
     * @return The name of a feature. `feature_name` cannot be any of the following: `is_deleted`, `write_time`, `api_invocation_time`.
     * 
     */
    public Optional<String> featureName() {
        return Optional.ofNullable(this.featureName);
    }
    /**
     * @return The value type of a feature. Valid values are `Integral`, `Fractional`, or `String`.
     * 
     */
    public Optional<String> featureType() {
        return Optional.ofNullable(this.featureType);
    }

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

    public static Builder builder(FeatureGroupFeatureDefinition defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String featureName;
        private @Nullable String featureType;
        public Builder() {}
        public Builder(FeatureGroupFeatureDefinition defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.featureName = defaults.featureName;
    	      this.featureType = defaults.featureType;
        }

        @CustomType.Setter
        public Builder featureName(@Nullable String featureName) {
            this.featureName = featureName;
            return this;
        }
        @CustomType.Setter
        public Builder featureType(@Nullable String featureType) {
            this.featureType = featureType;
            return this;
        }
        public FeatureGroupFeatureDefinition build() {
            final var o = new FeatureGroupFeatureDefinition();
            o.featureName = featureName;
            o.featureType = featureType;
            return o;
        }
    }
}
