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

com.pulumi.azurenative.security.outputs.AdditionalWorkspacesPropertiesResponse Maven / Gradle / Ivy

// *** 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.security.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AdditionalWorkspacesPropertiesResponse {
    /**
     * @return List of data types sent to workspace
     * 
     */
    private @Nullable List dataTypes;
    /**
     * @return Workspace type.
     * 
     */
    private @Nullable String type;
    /**
     * @return Workspace resource id
     * 
     */
    private @Nullable String workspace;

    private AdditionalWorkspacesPropertiesResponse() {}
    /**
     * @return List of data types sent to workspace
     * 
     */
    public List dataTypes() {
        return this.dataTypes == null ? List.of() : this.dataTypes;
    }
    /**
     * @return Workspace type.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }
    /**
     * @return Workspace resource id
     * 
     */
    public Optional workspace() {
        return Optional.ofNullable(this.workspace);
    }

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

    public static Builder builder(AdditionalWorkspacesPropertiesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List dataTypes;
        private @Nullable String type;
        private @Nullable String workspace;
        public Builder() {}
        public Builder(AdditionalWorkspacesPropertiesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataTypes = defaults.dataTypes;
    	      this.type = defaults.type;
    	      this.workspace = defaults.workspace;
        }

        @CustomType.Setter
        public Builder dataTypes(@Nullable List dataTypes) {

            this.dataTypes = dataTypes;
            return this;
        }
        public Builder dataTypes(String... dataTypes) {
            return dataTypes(List.of(dataTypes));
        }
        @CustomType.Setter
        public Builder type(@Nullable String type) {

            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder workspace(@Nullable String workspace) {

            this.workspace = workspace;
            return this;
        }
        public AdditionalWorkspacesPropertiesResponse build() {
            final var _resultValue = new AdditionalWorkspacesPropertiesResponse();
            _resultValue.dataTypes = dataTypes;
            _resultValue.type = type;
            _resultValue.workspace = workspace;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy