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

com.pulumi.azurenative.operationalinsights.outputs.AssociatedWorkspaceResponse Maven / Gradle / Ivy

There is a newer version: 2.72.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.operationalinsights.outputs;

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

@CustomType
public final class AssociatedWorkspaceResponse {
    /**
     * @return The time of workspace association.
     * 
     */
    private String associateDate;
    /**
     * @return The ResourceId id the assigned workspace.
     * 
     */
    private String resourceId;
    /**
     * @return The id of the assigned workspace.
     * 
     */
    private String workspaceId;
    /**
     * @return The name id the assigned workspace.
     * 
     */
    private String workspaceName;

    private AssociatedWorkspaceResponse() {}
    /**
     * @return The time of workspace association.
     * 
     */
    public String associateDate() {
        return this.associateDate;
    }
    /**
     * @return The ResourceId id the assigned workspace.
     * 
     */
    public String resourceId() {
        return this.resourceId;
    }
    /**
     * @return The id of the assigned workspace.
     * 
     */
    public String workspaceId() {
        return this.workspaceId;
    }
    /**
     * @return The name id the assigned workspace.
     * 
     */
    public String workspaceName() {
        return this.workspaceName;
    }

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

    public static Builder builder(AssociatedWorkspaceResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String associateDate;
        private String resourceId;
        private String workspaceId;
        private String workspaceName;
        public Builder() {}
        public Builder(AssociatedWorkspaceResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.associateDate = defaults.associateDate;
    	      this.resourceId = defaults.resourceId;
    	      this.workspaceId = defaults.workspaceId;
    	      this.workspaceName = defaults.workspaceName;
        }

        @CustomType.Setter
        public Builder associateDate(String associateDate) {
            if (associateDate == null) {
              throw new MissingRequiredPropertyException("AssociatedWorkspaceResponse", "associateDate");
            }
            this.associateDate = associateDate;
            return this;
        }
        @CustomType.Setter
        public Builder resourceId(String resourceId) {
            if (resourceId == null) {
              throw new MissingRequiredPropertyException("AssociatedWorkspaceResponse", "resourceId");
            }
            this.resourceId = resourceId;
            return this;
        }
        @CustomType.Setter
        public Builder workspaceId(String workspaceId) {
            if (workspaceId == null) {
              throw new MissingRequiredPropertyException("AssociatedWorkspaceResponse", "workspaceId");
            }
            this.workspaceId = workspaceId;
            return this;
        }
        @CustomType.Setter
        public Builder workspaceName(String workspaceName) {
            if (workspaceName == null) {
              throw new MissingRequiredPropertyException("AssociatedWorkspaceResponse", "workspaceName");
            }
            this.workspaceName = workspaceName;
            return this;
        }
        public AssociatedWorkspaceResponse build() {
            final var _resultValue = new AssociatedWorkspaceResponse();
            _resultValue.associateDate = associateDate;
            _resultValue.resourceId = resourceId;
            _resultValue.workspaceId = workspaceId;
            _resultValue.workspaceName = workspaceName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy