// *** 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.lakeformation.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 ResourceLfTagsLfTag {
    /**
     * @return Identifier for the Data Catalog. By default, it is the account ID of the caller.
     * 
     */
    private @Nullable String catalogId;
    /**
     * @return Key name for an existing LF-tag.
     * 
     */
    private String key;
    /**
     * @return Value from the possible values for the LF-tag.
     * 
     * The following argument is optional:
     * 
     */
    private String value;

    private ResourceLfTagsLfTag() {}
    /**
     * @return Identifier for the Data Catalog. By default, it is the account ID of the caller.
     * 
     */
    public Optional<String> catalogId() {
        return Optional.ofNullable(this.catalogId);
    }
    /**
     * @return Key name for an existing LF-tag.
     * 
     */
    public String key() {
        return this.key;
    }
    /**
     * @return Value from the possible values for the LF-tag.
     * 
     * The following argument is optional:
     * 
     */
    public String value() {
        return this.value;
    }

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

    public static Builder builder(ResourceLfTagsLfTag defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String catalogId;
        private String key;
        private String value;
        public Builder() {}
        public Builder(ResourceLfTagsLfTag defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.catalogId = defaults.catalogId;
    	      this.key = defaults.key;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder catalogId(@Nullable String catalogId) {
            this.catalogId = catalogId;
            return this;
        }
        @CustomType.Setter
        public Builder key(String key) {
            this.key = Objects.requireNonNull(key);
            return this;
        }
        @CustomType.Setter
        public Builder value(String value) {
            this.value = Objects.requireNonNull(value);
            return this;
        }
        public ResourceLfTagsLfTag build() {
            final var o = new ResourceLfTagsLfTag();
            o.catalogId = catalogId;
            o.key = key;
            o.value = value;
            return o;
        }
    }
}
