com.pulumi.azurenative.web.outputs.HandlerMappingResponse 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.web.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class HandlerMappingResponse {
/**
* @return Command-line arguments to be passed to the script processor.
*
*/
private @Nullable String arguments;
/**
* @return Requests with this extension will be handled using the specified FastCGI application.
*
*/
private @Nullable String extension;
/**
* @return The absolute path to the FastCGI application.
*
*/
private @Nullable String scriptProcessor;
private HandlerMappingResponse() {}
/**
* @return Command-line arguments to be passed to the script processor.
*
*/
public Optional arguments() {
return Optional.ofNullable(this.arguments);
}
/**
* @return Requests with this extension will be handled using the specified FastCGI application.
*
*/
public Optional extension() {
return Optional.ofNullable(this.extension);
}
/**
* @return The absolute path to the FastCGI application.
*
*/
public Optional scriptProcessor() {
return Optional.ofNullable(this.scriptProcessor);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HandlerMappingResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String arguments;
private @Nullable String extension;
private @Nullable String scriptProcessor;
public Builder() {}
public Builder(HandlerMappingResponse defaults) {
Objects.requireNonNull(defaults);
this.arguments = defaults.arguments;
this.extension = defaults.extension;
this.scriptProcessor = defaults.scriptProcessor;
}
@CustomType.Setter
public Builder arguments(@Nullable String arguments) {
this.arguments = arguments;
return this;
}
@CustomType.Setter
public Builder extension(@Nullable String extension) {
this.extension = extension;
return this;
}
@CustomType.Setter
public Builder scriptProcessor(@Nullable String scriptProcessor) {
this.scriptProcessor = scriptProcessor;
return this;
}
public HandlerMappingResponse build() {
final var _resultValue = new HandlerMappingResponse();
_resultValue.arguments = arguments;
_resultValue.extension = extension;
_resultValue.scriptProcessor = scriptProcessor;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy