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

com.pulumi.aws.ec2.outputs.VpcEndpointServicePrivateDnsNameConfiguration Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.ec2.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 VpcEndpointServicePrivateDnsNameConfiguration {
    /**
     * @return Name of the record subdomain the service provider needs to create.
     * 
     */
    private @Nullable String name;
    /**
     * @return Verification state of the VPC endpoint service. Consumers of the endpoint service can use the private name only when the state is `verified`.
     * 
     */
    private @Nullable String state;
    /**
     * @return Endpoint service verification type, for example `TXT`.
     * 
     */
    private @Nullable String type;
    /**
     * @return Value the service provider adds to the private DNS name domain record before verification.
     * 
     */
    private @Nullable String value;

    private VpcEndpointServicePrivateDnsNameConfiguration() {}
    /**
     * @return Name of the record subdomain the service provider needs to create.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return Verification state of the VPC endpoint service. Consumers of the endpoint service can use the private name only when the state is `verified`.
     * 
     */
    public Optional state() {
        return Optional.ofNullable(this.state);
    }
    /**
     * @return Endpoint service verification type, for example `TXT`.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }
    /**
     * @return Value the service provider adds to the private DNS name domain record before verification.
     * 
     */
    public Optional value() {
        return Optional.ofNullable(this.value);
    }

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

    public static Builder builder(VpcEndpointServicePrivateDnsNameConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String name;
        private @Nullable String state;
        private @Nullable String type;
        private @Nullable String value;
        public Builder() {}
        public Builder(VpcEndpointServicePrivateDnsNameConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.state = defaults.state;
    	      this.type = defaults.type;
    	      this.value = defaults.value;
        }

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

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder state(@Nullable String state) {

            this.state = state;
            return this;
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder value(@Nullable String value) {

            this.value = value;
            return this;
        }
        public VpcEndpointServicePrivateDnsNameConfiguration build() {
            final var _resultValue = new VpcEndpointServicePrivateDnsNameConfiguration();
            _resultValue.name = name;
            _resultValue.state = state;
            _resultValue.type = type;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy