
com.pulumi.azurenative.compute.inputs.GetRestorePointPlainArgs Maven / Gradle / Ivy
// *** 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.compute.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetRestorePointPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetRestorePointPlainArgs Empty = new GetRestorePointPlainArgs();
/**
* The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
*
*/
@Import(name="expand")
private @Nullable String expand;
/**
* @return The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
*
*/
public Optional expand() {
return Optional.ofNullable(this.expand);
}
/**
* The name of the resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the restore point collection.
*
*/
@Import(name="restorePointCollectionName", required=true)
private String restorePointCollectionName;
/**
* @return The name of the restore point collection.
*
*/
public String restorePointCollectionName() {
return this.restorePointCollectionName;
}
/**
* The name of the restore point.
*
*/
@Import(name="restorePointName", required=true)
private String restorePointName;
/**
* @return The name of the restore point.
*
*/
public String restorePointName() {
return this.restorePointName;
}
private GetRestorePointPlainArgs() {}
private GetRestorePointPlainArgs(GetRestorePointPlainArgs $) {
this.expand = $.expand;
this.resourceGroupName = $.resourceGroupName;
this.restorePointCollectionName = $.restorePointCollectionName;
this.restorePointName = $.restorePointName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRestorePointPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetRestorePointPlainArgs $;
public Builder() {
$ = new GetRestorePointPlainArgs();
}
public Builder(GetRestorePointPlainArgs defaults) {
$ = new GetRestorePointPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param expand The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
*
* @return builder
*
*/
public Builder expand(@Nullable String expand) {
$.expand = expand;
return this;
}
/**
* @param resourceGroupName The name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param restorePointCollectionName The name of the restore point collection.
*
* @return builder
*
*/
public Builder restorePointCollectionName(String restorePointCollectionName) {
$.restorePointCollectionName = restorePointCollectionName;
return this;
}
/**
* @param restorePointName The name of the restore point.
*
* @return builder
*
*/
public Builder restorePointName(String restorePointName) {
$.restorePointName = restorePointName;
return this;
}
public GetRestorePointPlainArgs build() {
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetRestorePointPlainArgs", "resourceGroupName");
}
if ($.restorePointCollectionName == null) {
throw new MissingRequiredPropertyException("GetRestorePointPlainArgs", "restorePointCollectionName");
}
if ($.restorePointName == null) {
throw new MissingRequiredPropertyException("GetRestorePointPlainArgs", "restorePointName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy