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

com.pulumi.azurenative.operationalinsights.outputs.WorkspaceFeaturesResponse 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class WorkspaceFeaturesResponse {
    /**
     * @return Dedicated LA cluster resourceId that is linked to the workspaces.
     * 
     */
    private @Nullable String clusterResourceId;
    /**
     * @return Disable Non-AAD based Auth.
     * 
     */
    private @Nullable Boolean disableLocalAuth;
    /**
     * @return Flag that indicate if data should be exported.
     * 
     */
    private @Nullable Boolean enableDataExport;
    /**
     * @return Flag that indicate which permission to use - resource or workspace or both.
     * 
     */
    private @Nullable Boolean enableLogAccessUsingOnlyResourcePermissions;
    /**
     * @return Flag that describes if we want to remove the data after 30 days.
     * 
     */
    private @Nullable Boolean immediatePurgeDataOn30Days;

    private WorkspaceFeaturesResponse() {}
    /**
     * @return Dedicated LA cluster resourceId that is linked to the workspaces.
     * 
     */
    public Optional clusterResourceId() {
        return Optional.ofNullable(this.clusterResourceId);
    }
    /**
     * @return Disable Non-AAD based Auth.
     * 
     */
    public Optional disableLocalAuth() {
        return Optional.ofNullable(this.disableLocalAuth);
    }
    /**
     * @return Flag that indicate if data should be exported.
     * 
     */
    public Optional enableDataExport() {
        return Optional.ofNullable(this.enableDataExport);
    }
    /**
     * @return Flag that indicate which permission to use - resource or workspace or both.
     * 
     */
    public Optional enableLogAccessUsingOnlyResourcePermissions() {
        return Optional.ofNullable(this.enableLogAccessUsingOnlyResourcePermissions);
    }
    /**
     * @return Flag that describes if we want to remove the data after 30 days.
     * 
     */
    public Optional immediatePurgeDataOn30Days() {
        return Optional.ofNullable(this.immediatePurgeDataOn30Days);
    }

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

    public static Builder builder(WorkspaceFeaturesResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String clusterResourceId;
        private @Nullable Boolean disableLocalAuth;
        private @Nullable Boolean enableDataExport;
        private @Nullable Boolean enableLogAccessUsingOnlyResourcePermissions;
        private @Nullable Boolean immediatePurgeDataOn30Days;
        public Builder() {}
        public Builder(WorkspaceFeaturesResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clusterResourceId = defaults.clusterResourceId;
    	      this.disableLocalAuth = defaults.disableLocalAuth;
    	      this.enableDataExport = defaults.enableDataExport;
    	      this.enableLogAccessUsingOnlyResourcePermissions = defaults.enableLogAccessUsingOnlyResourcePermissions;
    	      this.immediatePurgeDataOn30Days = defaults.immediatePurgeDataOn30Days;
        }

        @CustomType.Setter
        public Builder clusterResourceId(@Nullable String clusterResourceId) {

            this.clusterResourceId = clusterResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder disableLocalAuth(@Nullable Boolean disableLocalAuth) {

            this.disableLocalAuth = disableLocalAuth;
            return this;
        }
        @CustomType.Setter
        public Builder enableDataExport(@Nullable Boolean enableDataExport) {

            this.enableDataExport = enableDataExport;
            return this;
        }
        @CustomType.Setter
        public Builder enableLogAccessUsingOnlyResourcePermissions(@Nullable Boolean enableLogAccessUsingOnlyResourcePermissions) {

            this.enableLogAccessUsingOnlyResourcePermissions = enableLogAccessUsingOnlyResourcePermissions;
            return this;
        }
        @CustomType.Setter
        public Builder immediatePurgeDataOn30Days(@Nullable Boolean immediatePurgeDataOn30Days) {

            this.immediatePurgeDataOn30Days = immediatePurgeDataOn30Days;
            return this;
        }
        public WorkspaceFeaturesResponse build() {
            final var _resultValue = new WorkspaceFeaturesResponse();
            _resultValue.clusterResourceId = clusterResourceId;
            _resultValue.disableLocalAuth = disableLocalAuth;
            _resultValue.enableDataExport = enableDataExport;
            _resultValue.enableLogAccessUsingOnlyResourcePermissions = enableLogAccessUsingOnlyResourcePermissions;
            _resultValue.immediatePurgeDataOn30Days = immediatePurgeDataOn30Days;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy