com.pulumi.azurenative.dataprotection.outputs.AzureOperationalStoreParametersResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class AzureOperationalStoreParametersResponse {
/**
* @return type of datastore; Operational/Vault/Archive
*
*/
private String dataStoreType;
/**
* @return Type of the specific object - used for deserializing
* Expected value is 'AzureOperationalStoreParameters'.
*
*/
private String objectType;
/**
* @return Gets or sets the Snapshot Resource Group Uri.
*
*/
private @Nullable String resourceGroupId;
private AzureOperationalStoreParametersResponse() {}
/**
* @return type of datastore; Operational/Vault/Archive
*
*/
public String dataStoreType() {
return this.dataStoreType;
}
/**
* @return Type of the specific object - used for deserializing
* Expected value is 'AzureOperationalStoreParameters'.
*
*/
public String objectType() {
return this.objectType;
}
/**
* @return Gets or sets the Snapshot Resource Group Uri.
*
*/
public Optional resourceGroupId() {
return Optional.ofNullable(this.resourceGroupId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AzureOperationalStoreParametersResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String dataStoreType;
private String objectType;
private @Nullable String resourceGroupId;
public Builder() {}
public Builder(AzureOperationalStoreParametersResponse defaults) {
Objects.requireNonNull(defaults);
this.dataStoreType = defaults.dataStoreType;
this.objectType = defaults.objectType;
this.resourceGroupId = defaults.resourceGroupId;
}
@CustomType.Setter
public Builder dataStoreType(String dataStoreType) {
if (dataStoreType == null) {
throw new MissingRequiredPropertyException("AzureOperationalStoreParametersResponse", "dataStoreType");
}
this.dataStoreType = dataStoreType;
return this;
}
@CustomType.Setter
public Builder objectType(String objectType) {
if (objectType == null) {
throw new MissingRequiredPropertyException("AzureOperationalStoreParametersResponse", "objectType");
}
this.objectType = objectType;
return this;
}
@CustomType.Setter
public Builder resourceGroupId(@Nullable String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public AzureOperationalStoreParametersResponse build() {
final var _resultValue = new AzureOperationalStoreParametersResponse();
_resultValue.dataStoreType = dataStoreType;
_resultValue.objectType = objectType;
_resultValue.resourceGroupId = resourceGroupId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy