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

com.pulumi.azurenative.awsconnector.inputs.Ipv6RangeArgs 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 Ipv6Range
 * 
 */
public final class Ipv6RangeArgs extends com.pulumi.resources.ResourceArgs {

    public static final Ipv6RangeArgs Empty = new Ipv6RangeArgs();

    /**
     * <p>The IPv6 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.</p>
     * 
     */
    @Import(name="cidrIpv6")
    private @Nullable Output cidrIpv6;

    /**
     * @return <p>The IPv6 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.</p>
     * 
     */
    public Optional> cidrIpv6() {
        return Optional.ofNullable(this.cidrIpv6);
    }

    /**
     * <p>A description for the security group rule that references this IPv6 address range.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=&amp;;{}!$*</p>
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return <p>A description for the security group rule that references this IPv6 address range.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=&amp;;{}!$*</p>
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    private Ipv6RangeArgs() {}

    private Ipv6RangeArgs(Ipv6RangeArgs $) {
        this.cidrIpv6 = $.cidrIpv6;
        this.description = $.description;
    }

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

    public static final class Builder {
        private Ipv6RangeArgs $;

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

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

        /**
         * @param cidrIpv6 <p>The IPv6 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.</p>
         * 
         * @return builder
         * 
         */
        public Builder cidrIpv6(@Nullable Output cidrIpv6) {
            $.cidrIpv6 = cidrIpv6;
            return this;
        }

        /**
         * @param cidrIpv6 <p>The IPv6 address range. You can either specify a CIDR block or a source security group, not both. To specify a single IPv6 address, use the /128 prefix length.</p>
         * 
         * @return builder
         * 
         */
        public Builder cidrIpv6(String cidrIpv6) {
            return cidrIpv6(Output.of(cidrIpv6));
        }

        /**
         * @param description <p>A description for the security group rule that references this IPv6 address range.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=&amp;;{}!$*</p>
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description <p>A description for the security group rule that references this IPv6 address range.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=&amp;;{}!$*</p>
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        public Ipv6RangeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy