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

com.pulumi.meraki.devices.outputs.GetSwitchPortsStatusesItemSpanningTree Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.devices.outputs;

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 GetSwitchPortsStatusesItemSpanningTree {
    /**
     * @return The current Spanning Tree Protocol statuses of the port.
     * 
     */
    private List statuses;

    private GetSwitchPortsStatusesItemSpanningTree() {}
    /**
     * @return The current Spanning Tree Protocol statuses of the port.
     * 
     */
    public List statuses() {
        return this.statuses;
    }

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

    public static Builder builder(GetSwitchPortsStatusesItemSpanningTree defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List statuses;
        public Builder() {}
        public Builder(GetSwitchPortsStatusesItemSpanningTree defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.statuses = defaults.statuses;
        }

        @CustomType.Setter
        public Builder statuses(List statuses) {
            if (statuses == null) {
              throw new MissingRequiredPropertyException("GetSwitchPortsStatusesItemSpanningTree", "statuses");
            }
            this.statuses = statuses;
            return this;
        }
        public Builder statuses(String... statuses) {
            return statuses(List.of(statuses));
        }
        public GetSwitchPortsStatusesItemSpanningTree build() {
            final var _resultValue = new GetSwitchPortsStatusesItemSpanningTree();
            _resultValue.statuses = statuses;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy