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

com.pulumi.azurenative.awsconnector.outputs.InstanceIpv6AddressResponse Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.outputs;

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

@CustomType
public final class InstanceIpv6AddressResponse {
    /**
     * @return Property ipv6Address
     * 
     */
    private @Nullable String ipv6Address;
    /**
     * @return <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see <a href='https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html'>RunInstances</a>.</p>
     * 
     */
    private @Nullable Boolean isPrimaryIpv6;

    private InstanceIpv6AddressResponse() {}
    /**
     * @return Property ipv6Address
     * 
     */
    public Optional ipv6Address() {
        return Optional.ofNullable(this.ipv6Address);
    }
    /**
     * @return <p>Determines if an IPv6 address associated with a network interface is the primary IPv6 address. When you enable an IPv6 GUA address to be a primary IPv6, the first IPv6 GUA will be made the primary IPv6 address until the instance is terminated or the network interface is detached. For more information, see <a href='https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html'>RunInstances</a>.</p>
     * 
     */
    public Optional isPrimaryIpv6() {
        return Optional.ofNullable(this.isPrimaryIpv6);
    }

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

    public static Builder builder(InstanceIpv6AddressResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String ipv6Address;
        private @Nullable Boolean isPrimaryIpv6;
        public Builder() {}
        public Builder(InstanceIpv6AddressResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.ipv6Address = defaults.ipv6Address;
    	      this.isPrimaryIpv6 = defaults.isPrimaryIpv6;
        }

        @CustomType.Setter
        public Builder ipv6Address(@Nullable String ipv6Address) {

            this.ipv6Address = ipv6Address;
            return this;
        }
        @CustomType.Setter
        public Builder isPrimaryIpv6(@Nullable Boolean isPrimaryIpv6) {

            this.isPrimaryIpv6 = isPrimaryIpv6;
            return this;
        }
        public InstanceIpv6AddressResponse build() {
            final var _resultValue = new InstanceIpv6AddressResponse();
            _resultValue.ipv6Address = ipv6Address;
            _resultValue.isPrimaryIpv6 = isPrimaryIpv6;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy