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

com.pulumi.azurenative.databox.outputs.ShareCredentialDetailsResponse Maven / Gradle / Ivy

There is a newer version: 2.82.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.databox.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 ShareCredentialDetailsResponse {
    /**
     * @return Password for the share.
     * 
     */
    private String password;
    /**
     * @return Name of the share.
     * 
     */
    private String shareName;
    /**
     * @return Type of the share.
     * 
     */
    private String shareType;
    /**
     * @return Access protocols supported on the device.
     * 
     */
    private List supportedAccessProtocols;
    /**
     * @return User name for the share.
     * 
     */
    private String userName;

    private ShareCredentialDetailsResponse() {}
    /**
     * @return Password for the share.
     * 
     */
    public String password() {
        return this.password;
    }
    /**
     * @return Name of the share.
     * 
     */
    public String shareName() {
        return this.shareName;
    }
    /**
     * @return Type of the share.
     * 
     */
    public String shareType() {
        return this.shareType;
    }
    /**
     * @return Access protocols supported on the device.
     * 
     */
    public List supportedAccessProtocols() {
        return this.supportedAccessProtocols;
    }
    /**
     * @return User name for the share.
     * 
     */
    public String userName() {
        return this.userName;
    }

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

    public static Builder builder(ShareCredentialDetailsResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String password;
        private String shareName;
        private String shareType;
        private List supportedAccessProtocols;
        private String userName;
        public Builder() {}
        public Builder(ShareCredentialDetailsResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.password = defaults.password;
    	      this.shareName = defaults.shareName;
    	      this.shareType = defaults.shareType;
    	      this.supportedAccessProtocols = defaults.supportedAccessProtocols;
    	      this.userName = defaults.userName;
        }

        @CustomType.Setter
        public Builder password(String password) {
            if (password == null) {
              throw new MissingRequiredPropertyException("ShareCredentialDetailsResponse", "password");
            }
            this.password = password;
            return this;
        }
        @CustomType.Setter
        public Builder shareName(String shareName) {
            if (shareName == null) {
              throw new MissingRequiredPropertyException("ShareCredentialDetailsResponse", "shareName");
            }
            this.shareName = shareName;
            return this;
        }
        @CustomType.Setter
        public Builder shareType(String shareType) {
            if (shareType == null) {
              throw new MissingRequiredPropertyException("ShareCredentialDetailsResponse", "shareType");
            }
            this.shareType = shareType;
            return this;
        }
        @CustomType.Setter
        public Builder supportedAccessProtocols(List supportedAccessProtocols) {
            if (supportedAccessProtocols == null) {
              throw new MissingRequiredPropertyException("ShareCredentialDetailsResponse", "supportedAccessProtocols");
            }
            this.supportedAccessProtocols = supportedAccessProtocols;
            return this;
        }
        public Builder supportedAccessProtocols(String... supportedAccessProtocols) {
            return supportedAccessProtocols(List.of(supportedAccessProtocols));
        }
        @CustomType.Setter
        public Builder userName(String userName) {
            if (userName == null) {
              throw new MissingRequiredPropertyException("ShareCredentialDetailsResponse", "userName");
            }
            this.userName = userName;
            return this;
        }
        public ShareCredentialDetailsResponse build() {
            final var _resultValue = new ShareCredentialDetailsResponse();
            _resultValue.password = password;
            _resultValue.shareName = shareName;
            _resultValue.shareType = shareType;
            _resultValue.supportedAccessProtocols = supportedAccessProtocols;
            _resultValue.userName = userName;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy