com.pulumi.azure.synapse.outputs.SqlPoolRestore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.synapse.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class SqlPoolRestore {
/**
* @return Specifies the Snapshot time to restore formatted as an RFC3339 date string. Changing this forces a new Synapse SQL Pool to be created.
*
*/
private String pointInTime;
/**
* @return The ID of the Synapse SQL Pool or SQL Database which is to restore. Changing this forces a new Synapse SQL Pool to be created.
*
*/
private String sourceDatabaseId;
private SqlPoolRestore() {}
/**
* @return Specifies the Snapshot time to restore formatted as an RFC3339 date string. Changing this forces a new Synapse SQL Pool to be created.
*
*/
public String pointInTime() {
return this.pointInTime;
}
/**
* @return The ID of the Synapse SQL Pool or SQL Database which is to restore. Changing this forces a new Synapse SQL Pool to be created.
*
*/
public String sourceDatabaseId() {
return this.sourceDatabaseId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SqlPoolRestore defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String pointInTime;
private String sourceDatabaseId;
public Builder() {}
public Builder(SqlPoolRestore defaults) {
Objects.requireNonNull(defaults);
this.pointInTime = defaults.pointInTime;
this.sourceDatabaseId = defaults.sourceDatabaseId;
}
@CustomType.Setter
public Builder pointInTime(String pointInTime) {
if (pointInTime == null) {
throw new MissingRequiredPropertyException("SqlPoolRestore", "pointInTime");
}
this.pointInTime = pointInTime;
return this;
}
@CustomType.Setter
public Builder sourceDatabaseId(String sourceDatabaseId) {
if (sourceDatabaseId == null) {
throw new MissingRequiredPropertyException("SqlPoolRestore", "sourceDatabaseId");
}
this.sourceDatabaseId = sourceDatabaseId;
return this;
}
public SqlPoolRestore build() {
final var _resultValue = new SqlPoolRestore();
_resultValue.pointInTime = pointInTime;
_resultValue.sourceDatabaseId = sourceDatabaseId;
return _resultValue;
}
}
}