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

com.pulumi.azurenative.storagepool.outputs.AclResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.pulumi.azurenative.storagepool.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 AclResponse {
    /**
     * @return iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
     * 
     */
    private String initiatorIqn;
    /**
     * @return List of LUN names mapped to the ACL.
     * 
     */
    private List mappedLuns;

    private AclResponse() {}
    /**
     * @return iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client".
     * 
     */
    public String initiatorIqn() {
        return this.initiatorIqn;
    }
    /**
     * @return List of LUN names mapped to the ACL.
     * 
     */
    public List mappedLuns() {
        return this.mappedLuns;
    }

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

    public static Builder builder(AclResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String initiatorIqn;
        private List mappedLuns;
        public Builder() {}
        public Builder(AclResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.initiatorIqn = defaults.initiatorIqn;
    	      this.mappedLuns = defaults.mappedLuns;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy