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

com.pulumi.aws.directconnect.outputs.GetRouterConfigurationResult 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.directconnect.outputs;

import com.pulumi.aws.directconnect.outputs.GetRouterConfigurationRouter;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetRouterConfigurationResult {
    /**
     * @return Instructions for configuring your router
     * 
     */
    private String customerRouterConfig;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Router type identifier
     * 
     */
    private String routerTypeIdentifier;
    /**
     * @return Block of the router type details
     * 
     */
    private List routers;
    private String virtualInterfaceId;
    private String virtualInterfaceName;

    private GetRouterConfigurationResult() {}
    /**
     * @return Instructions for configuring your router
     * 
     */
    public String customerRouterConfig() {
        return this.customerRouterConfig;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Router type identifier
     * 
     */
    public String routerTypeIdentifier() {
        return this.routerTypeIdentifier;
    }
    /**
     * @return Block of the router type details
     * 
     */
    public List routers() {
        return this.routers;
    }
    public String virtualInterfaceId() {
        return this.virtualInterfaceId;
    }
    public String virtualInterfaceName() {
        return this.virtualInterfaceName;
    }

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

    public static Builder builder(GetRouterConfigurationResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String customerRouterConfig;
        private String id;
        private String routerTypeIdentifier;
        private List routers;
        private String virtualInterfaceId;
        private String virtualInterfaceName;
        public Builder() {}
        public Builder(GetRouterConfigurationResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.customerRouterConfig = defaults.customerRouterConfig;
    	      this.id = defaults.id;
    	      this.routerTypeIdentifier = defaults.routerTypeIdentifier;
    	      this.routers = defaults.routers;
    	      this.virtualInterfaceId = defaults.virtualInterfaceId;
    	      this.virtualInterfaceName = defaults.virtualInterfaceName;
        }

        @CustomType.Setter
        public Builder customerRouterConfig(String customerRouterConfig) {
            if (customerRouterConfig == null) {
              throw new MissingRequiredPropertyException("GetRouterConfigurationResult", "customerRouterConfig");
            }
            this.customerRouterConfig = customerRouterConfig;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetRouterConfigurationResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder routerTypeIdentifier(String routerTypeIdentifier) {
            if (routerTypeIdentifier == null) {
              throw new MissingRequiredPropertyException("GetRouterConfigurationResult", "routerTypeIdentifier");
            }
            this.routerTypeIdentifier = routerTypeIdentifier;
            return this;
        }
        @CustomType.Setter
        public Builder routers(List routers) {
            if (routers == null) {
              throw new MissingRequiredPropertyException("GetRouterConfigurationResult", "routers");
            }
            this.routers = routers;
            return this;
        }
        public Builder routers(GetRouterConfigurationRouter... routers) {
            return routers(List.of(routers));
        }
        @CustomType.Setter
        public Builder virtualInterfaceId(String virtualInterfaceId) {
            if (virtualInterfaceId == null) {
              throw new MissingRequiredPropertyException("GetRouterConfigurationResult", "virtualInterfaceId");
            }
            this.virtualInterfaceId = virtualInterfaceId;
            return this;
        }
        @CustomType.Setter
        public Builder virtualInterfaceName(String virtualInterfaceName) {
            if (virtualInterfaceName == null) {
              throw new MissingRequiredPropertyException("GetRouterConfigurationResult", "virtualInterfaceName");
            }
            this.virtualInterfaceName = virtualInterfaceName;
            return this;
        }
        public GetRouterConfigurationResult build() {
            final var _resultValue = new GetRouterConfigurationResult();
            _resultValue.customerRouterConfig = customerRouterConfig;
            _resultValue.id = id;
            _resultValue.routerTypeIdentifier = routerTypeIdentifier;
            _resultValue.routers = routers;
            _resultValue.virtualInterfaceId = virtualInterfaceId;
            _resultValue.virtualInterfaceName = virtualInterfaceName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy