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

com.pulumi.aws.route53.inputs.CidrCollectionState 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.route53.inputs;

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


public final class CidrCollectionState extends com.pulumi.resources.ResourceArgs {

    public static final CidrCollectionState Empty = new CidrCollectionState();

    /**
     * The Amazon Resource Name (ARN) of the CIDR collection.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Amazon Resource Name (ARN) of the CIDR collection.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * Unique name for the CIDR collection.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Unique name for the CIDR collection.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The lastest version of the CIDR collection.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The lastest version of the CIDR collection.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private CidrCollectionState() {}

    private CidrCollectionState(CidrCollectionState $) {
        this.arn = $.arn;
        this.name = $.name;
        this.version = $.version;
    }

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

    public static final class Builder {
        private CidrCollectionState $;

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

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

        /**
         * @param arn The Amazon Resource Name (ARN) of the CIDR collection.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Amazon Resource Name (ARN) of the CIDR collection.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param name Unique name for the CIDR collection.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Unique name for the CIDR collection.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param version The lastest version of the CIDR collection.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The lastest version of the CIDR collection.
         * 
         * @return builder
         * 
         */
        public Builder version(Integer version) {
            return version(Output.of(version));
        }

        public CidrCollectionState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy