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

com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetM3dbNamespacesResult Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.CloudProject.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 GetM3dbNamespacesResult {
    /**
     * @return See Argument Reference above.
     * 
     */
    private String clusterId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The list of namespaces ids of the M3DB cluster associated with the project.
     * 
     */
    private List namespaceIds;
    /**
     * @return See Argument Reference above.
     * 
     */
    private String serviceName;

    private GetM3dbNamespacesResult() {}
    /**
     * @return See Argument Reference above.
     * 
     */
    public String clusterId() {
        return this.clusterId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The list of namespaces ids of the M3DB cluster associated with the project.
     * 
     */
    public List namespaceIds() {
        return this.namespaceIds;
    }
    /**
     * @return See Argument Reference above.
     * 
     */
    public String serviceName() {
        return this.serviceName;
    }

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

    public static Builder builder(GetM3dbNamespacesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String clusterId;
        private String id;
        private List namespaceIds;
        private String serviceName;
        public Builder() {}
        public Builder(GetM3dbNamespacesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clusterId = defaults.clusterId;
    	      this.id = defaults.id;
    	      this.namespaceIds = defaults.namespaceIds;
    	      this.serviceName = defaults.serviceName;
        }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy