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

com.pulumi.azurenative.elastic.outputs.ElasticCloudUserResponse 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.elastic.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class ElasticCloudUserResponse {
    /**
     * @return Elastic cloud default dashboard sso URL of the Elastic user account.
     * 
     */
    private String elasticCloudSsoDefaultUrl;
    /**
     * @return Email of the Elastic User Account.
     * 
     */
    private String emailAddress;
    /**
     * @return User Id of the elastic account of the User.
     * 
     */
    private String id;

    private ElasticCloudUserResponse() {}
    /**
     * @return Elastic cloud default dashboard sso URL of the Elastic user account.
     * 
     */
    public String elasticCloudSsoDefaultUrl() {
        return this.elasticCloudSsoDefaultUrl;
    }
    /**
     * @return Email of the Elastic User Account.
     * 
     */
    public String emailAddress() {
        return this.emailAddress;
    }
    /**
     * @return User Id of the elastic account of the User.
     * 
     */
    public String id() {
        return this.id;
    }

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

    public static Builder builder(ElasticCloudUserResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String elasticCloudSsoDefaultUrl;
        private String emailAddress;
        private String id;
        public Builder() {}
        public Builder(ElasticCloudUserResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.elasticCloudSsoDefaultUrl = defaults.elasticCloudSsoDefaultUrl;
    	      this.emailAddress = defaults.emailAddress;
    	      this.id = defaults.id;
        }

        @CustomType.Setter
        public Builder elasticCloudSsoDefaultUrl(String elasticCloudSsoDefaultUrl) {
            if (elasticCloudSsoDefaultUrl == null) {
              throw new MissingRequiredPropertyException("ElasticCloudUserResponse", "elasticCloudSsoDefaultUrl");
            }
            this.elasticCloudSsoDefaultUrl = elasticCloudSsoDefaultUrl;
            return this;
        }
        @CustomType.Setter
        public Builder emailAddress(String emailAddress) {
            if (emailAddress == null) {
              throw new MissingRequiredPropertyException("ElasticCloudUserResponse", "emailAddress");
            }
            this.emailAddress = emailAddress;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("ElasticCloudUserResponse", "id");
            }
            this.id = id;
            return this;
        }
        public ElasticCloudUserResponse build() {
            final var _resultValue = new ElasticCloudUserResponse();
            _resultValue.elasticCloudSsoDefaultUrl = elasticCloudSsoDefaultUrl;
            _resultValue.emailAddress = emailAddress;
            _resultValue.id = id;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy