
com.pulumi.azurenative.compute.outputs.RestorePointCollectionSourcePropertiesResponse 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.compute.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 RestorePointCollectionSourcePropertiesResponse {
/**
* @return Resource Id of the source resource used to create this restore point collection
*
*/
private @Nullable String id;
/**
* @return Location of the source resource used to create this restore point collection.
*
*/
private String location;
private RestorePointCollectionSourcePropertiesResponse() {}
/**
* @return Resource Id of the source resource used to create this restore point collection
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return Location of the source resource used to create this restore point collection.
*
*/
public String location() {
return this.location;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RestorePointCollectionSourcePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String id;
private String location;
public Builder() {}
public Builder(RestorePointCollectionSourcePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.location = defaults.location;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("RestorePointCollectionSourcePropertiesResponse", "location");
}
this.location = location;
return this;
}
public RestorePointCollectionSourcePropertiesResponse build() {
final var _resultValue = new RestorePointCollectionSourcePropertiesResponse();
_resultValue.id = id;
_resultValue.location = location;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy