All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.awsconnector.inputs.AttributeDefinitionArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.azurenative.awsconnector.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of AttributeDefinition
 * 
 */
public final class AttributeDefinitionArgs extends com.pulumi.resources.ResourceArgs {

    public static final AttributeDefinitionArgs Empty = new AttributeDefinitionArgs();

    /**
     * A name for the attribute.
     * 
     */
    @Import(name="attributeName")
    private @Nullable Output attributeName;

    /**
     * @return A name for the attribute.
     * 
     */
    public Optional> attributeName() {
        return Optional.ofNullable(this.attributeName);
    }

    /**
     * The data type for the attribute, where:  +   ``S`` - the attribute is of type String  +   ``N`` - the attribute is of type Number  +   ``B`` - the attribute is of type Binary
     * 
     */
    @Import(name="attributeType")
    private @Nullable Output attributeType;

    /**
     * @return The data type for the attribute, where:  +   ``S`` - the attribute is of type String  +   ``N`` - the attribute is of type Number  +   ``B`` - the attribute is of type Binary
     * 
     */
    public Optional> attributeType() {
        return Optional.ofNullable(this.attributeType);
    }

    private AttributeDefinitionArgs() {}

    private AttributeDefinitionArgs(AttributeDefinitionArgs $) {
        this.attributeName = $.attributeName;
        this.attributeType = $.attributeType;
    }

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

    public static final class Builder {
        private AttributeDefinitionArgs $;

        public Builder() {
            $ = new AttributeDefinitionArgs();
        }

        public Builder(AttributeDefinitionArgs defaults) {
            $ = new AttributeDefinitionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param attributeName A name for the attribute.
         * 
         * @return builder
         * 
         */
        public Builder attributeName(@Nullable Output attributeName) {
            $.attributeName = attributeName;
            return this;
        }

        /**
         * @param attributeName A name for the attribute.
         * 
         * @return builder
         * 
         */
        public Builder attributeName(String attributeName) {
            return attributeName(Output.of(attributeName));
        }

        /**
         * @param attributeType The data type for the attribute, where:  +   ``S`` - the attribute is of type String  +   ``N`` - the attribute is of type Number  +   ``B`` - the attribute is of type Binary
         * 
         * @return builder
         * 
         */
        public Builder attributeType(@Nullable Output attributeType) {
            $.attributeType = attributeType;
            return this;
        }

        /**
         * @param attributeType The data type for the attribute, where:  +   ``S`` - the attribute is of type String  +   ``N`` - the attribute is of type Number  +   ``B`` - the attribute is of type Binary
         * 
         * @return builder
         * 
         */
        public Builder attributeType(String attributeType) {
            return attributeType(Output.of(attributeType));
        }

        public AttributeDefinitionArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy