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

com.pulumi.azurenative.dataprotection.outputs.DataStoreInfoBaseResponse 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.dataprotection.outputs;

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

@CustomType
public final class DataStoreInfoBaseResponse {
    /**
     * @return type of datastore; Operational/Vault/Archive
     * 
     */
    private String dataStoreType;
    /**
     * @return Type of Datasource object, used to initialize the right inherited type
     * 
     */
    private String objectType;

    private DataStoreInfoBaseResponse() {}
    /**
     * @return type of datastore; Operational/Vault/Archive
     * 
     */
    public String dataStoreType() {
        return this.dataStoreType;
    }
    /**
     * @return Type of Datasource object, used to initialize the right inherited type
     * 
     */
    public String objectType() {
        return this.objectType;
    }

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

    public static Builder builder(DataStoreInfoBaseResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String dataStoreType;
        private String objectType;
        public Builder() {}
        public Builder(DataStoreInfoBaseResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dataStoreType = defaults.dataStoreType;
    	      this.objectType = defaults.objectType;
        }

        @CustomType.Setter
        public Builder dataStoreType(String dataStoreType) {
            if (dataStoreType == null) {
              throw new MissingRequiredPropertyException("DataStoreInfoBaseResponse", "dataStoreType");
            }
            this.dataStoreType = dataStoreType;
            return this;
        }
        @CustomType.Setter
        public Builder objectType(String objectType) {
            if (objectType == null) {
              throw new MissingRequiredPropertyException("DataStoreInfoBaseResponse", "objectType");
            }
            this.objectType = objectType;
            return this;
        }
        public DataStoreInfoBaseResponse build() {
            final var _resultValue = new DataStoreInfoBaseResponse();
            _resultValue.dataStoreType = dataStoreType;
            _resultValue.objectType = objectType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy