
com.pulumi.azurenative.operationalinsights.outputs.RestoredLogsResponse 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.operationalinsights.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 RestoredLogsResponse {
/**
* @return Search results table async operation id.
*
*/
private String azureAsyncOperationId;
/**
* @return The timestamp to end the restore by (UTC).
*
*/
private @Nullable String endRestoreTime;
/**
* @return The table to restore data from.
*
*/
private @Nullable String sourceTable;
/**
* @return The timestamp to start the restore from (UTC).
*
*/
private @Nullable String startRestoreTime;
private RestoredLogsResponse() {}
/**
* @return Search results table async operation id.
*
*/
public String azureAsyncOperationId() {
return this.azureAsyncOperationId;
}
/**
* @return The timestamp to end the restore by (UTC).
*
*/
public Optional endRestoreTime() {
return Optional.ofNullable(this.endRestoreTime);
}
/**
* @return The table to restore data from.
*
*/
public Optional sourceTable() {
return Optional.ofNullable(this.sourceTable);
}
/**
* @return The timestamp to start the restore from (UTC).
*
*/
public Optional startRestoreTime() {
return Optional.ofNullable(this.startRestoreTime);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RestoredLogsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String azureAsyncOperationId;
private @Nullable String endRestoreTime;
private @Nullable String sourceTable;
private @Nullable String startRestoreTime;
public Builder() {}
public Builder(RestoredLogsResponse defaults) {
Objects.requireNonNull(defaults);
this.azureAsyncOperationId = defaults.azureAsyncOperationId;
this.endRestoreTime = defaults.endRestoreTime;
this.sourceTable = defaults.sourceTable;
this.startRestoreTime = defaults.startRestoreTime;
}
@CustomType.Setter
public Builder azureAsyncOperationId(String azureAsyncOperationId) {
if (azureAsyncOperationId == null) {
throw new MissingRequiredPropertyException("RestoredLogsResponse", "azureAsyncOperationId");
}
this.azureAsyncOperationId = azureAsyncOperationId;
return this;
}
@CustomType.Setter
public Builder endRestoreTime(@Nullable String endRestoreTime) {
this.endRestoreTime = endRestoreTime;
return this;
}
@CustomType.Setter
public Builder sourceTable(@Nullable String sourceTable) {
this.sourceTable = sourceTable;
return this;
}
@CustomType.Setter
public Builder startRestoreTime(@Nullable String startRestoreTime) {
this.startRestoreTime = startRestoreTime;
return this;
}
public RestoredLogsResponse build() {
final var _resultValue = new RestoredLogsResponse();
_resultValue.azureAsyncOperationId = azureAsyncOperationId;
_resultValue.endRestoreTime = endRestoreTime;
_resultValue.sourceTable = sourceTable;
_resultValue.startRestoreTime = startRestoreTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy