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

com.equinix.pulumi.fabric.outputs.GetConnectionZSideAccessPointPort Maven / Gradle / Ivy

There is a newer version: 0.19.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.equinix.pulumi.fabric.outputs;

import com.equinix.pulumi.fabric.outputs.GetConnectionZSideAccessPointPortRedundancy;
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 GetConnectionZSideAccessPointPort {
    /**
     * @return Unique Resource Identifier
     * 
     */
    private String href;
    /**
     * @return Port name
     * 
     */
    private String name;
    /**
     * @return Redundancy Information
     * 
     */
    private List redundancies;
    /**
     * @return Equinix-assigned Port identifier
     * 
     */
    private String uuid;

    private GetConnectionZSideAccessPointPort() {}
    /**
     * @return Unique Resource Identifier
     * 
     */
    public String href() {
        return this.href;
    }
    /**
     * @return Port name
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Redundancy Information
     * 
     */
    public List redundancies() {
        return this.redundancies;
    }
    /**
     * @return Equinix-assigned Port identifier
     * 
     */
    public String uuid() {
        return this.uuid;
    }

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

    public static Builder builder(GetConnectionZSideAccessPointPort defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String href;
        private String name;
        private List redundancies;
        private String uuid;
        public Builder() {}
        public Builder(GetConnectionZSideAccessPointPort defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.href = defaults.href;
    	      this.name = defaults.name;
    	      this.redundancies = defaults.redundancies;
    	      this.uuid = defaults.uuid;
        }

        @CustomType.Setter
        public Builder href(String href) {
            if (href == null) {
              throw new MissingRequiredPropertyException("GetConnectionZSideAccessPointPort", "href");
            }
            this.href = href;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetConnectionZSideAccessPointPort", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder redundancies(List redundancies) {
            if (redundancies == null) {
              throw new MissingRequiredPropertyException("GetConnectionZSideAccessPointPort", "redundancies");
            }
            this.redundancies = redundancies;
            return this;
        }
        public Builder redundancies(GetConnectionZSideAccessPointPortRedundancy... redundancies) {
            return redundancies(List.of(redundancies));
        }
        @CustomType.Setter
        public Builder uuid(String uuid) {
            if (uuid == null) {
              throw new MissingRequiredPropertyException("GetConnectionZSideAccessPointPort", "uuid");
            }
            this.uuid = uuid;
            return this;
        }
        public GetConnectionZSideAccessPointPort build() {
            final var _resultValue = new GetConnectionZSideAccessPointPort();
            _resultValue.href = href;
            _resultValue.name = name;
            _resultValue.redundancies = redundancies;
            _resultValue.uuid = uuid;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy