com.pulumi.azurenative.migrate.outputs.DirectoryPathResponse 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.migrate.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 DirectoryPathResponse {
/**
* @return Gets the ID.
*
*/
private String id;
/**
* @return Gets or sets the physical path of the directory on the web server.
*
*/
private @Nullable String physical;
/**
* @return Gets or sets the virtual path for the directory.
*
*/
private @Nullable String virtual;
private DirectoryPathResponse() {}
/**
* @return Gets the ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Gets or sets the physical path of the directory on the web server.
*
*/
public Optional physical() {
return Optional.ofNullable(this.physical);
}
/**
* @return Gets or sets the virtual path for the directory.
*
*/
public Optional virtual() {
return Optional.ofNullable(this.virtual);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DirectoryPathResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private @Nullable String physical;
private @Nullable String virtual;
public Builder() {}
public Builder(DirectoryPathResponse defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.physical = defaults.physical;
this.virtual = defaults.virtual;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("DirectoryPathResponse", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder physical(@Nullable String physical) {
this.physical = physical;
return this;
}
@CustomType.Setter
public Builder virtual(@Nullable String virtual) {
this.virtual = virtual;
return this;
}
public DirectoryPathResponse build() {
final var _resultValue = new DirectoryPathResponse();
_resultValue.id = id;
_resultValue.physical = physical;
_resultValue.virtual = virtual;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy