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

com.pulumi.azurenative.dataprotection.outputs.StorageSettingResponse Maven / Gradle / Ivy

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

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

@CustomType
public final class StorageSettingResponse {
    /**
     * @return Gets or sets the type of the datastore.
     * 
     */
    private @Nullable String datastoreType;
    /**
     * @return Gets or sets the type.
     * 
     */
    private @Nullable String type;

    private StorageSettingResponse() {}
    /**
     * @return Gets or sets the type of the datastore.
     * 
     */
    public Optional datastoreType() {
        return Optional.ofNullable(this.datastoreType);
    }
    /**
     * @return Gets or sets the type.
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

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

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

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

            this.type = type;
            return this;
        }
        public StorageSettingResponse build() {
            final var _resultValue = new StorageSettingResponse();
            _resultValue.datastoreType = datastoreType;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy