
com.pulumi.azurenative.appplatform.outputs.WarUploadedUserSourceInfoResponse 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.appplatform.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 WarUploadedUserSourceInfoResponse {
/**
* @return JVM parameter
*
*/
private @Nullable String jvmOptions;
/**
* @return Relative path of the storage which stores the source
*
*/
private @Nullable String relativePath;
/**
* @return Runtime version of the war file
*
*/
private @Nullable String runtimeVersion;
/**
* @return Server version, currently only Apache Tomcat is supported
*
*/
private @Nullable String serverVersion;
/**
* @return Type of the source uploaded
* Expected value is 'War'.
*
*/
private String type;
/**
* @return Version of the source
*
*/
private @Nullable String version;
private WarUploadedUserSourceInfoResponse() {}
/**
* @return JVM parameter
*
*/
public Optional jvmOptions() {
return Optional.ofNullable(this.jvmOptions);
}
/**
* @return Relative path of the storage which stores the source
*
*/
public Optional relativePath() {
return Optional.ofNullable(this.relativePath);
}
/**
* @return Runtime version of the war file
*
*/
public Optional runtimeVersion() {
return Optional.ofNullable(this.runtimeVersion);
}
/**
* @return Server version, currently only Apache Tomcat is supported
*
*/
public Optional serverVersion() {
return Optional.ofNullable(this.serverVersion);
}
/**
* @return Type of the source uploaded
* Expected value is 'War'.
*
*/
public String type() {
return this.type;
}
/**
* @return Version of the source
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WarUploadedUserSourceInfoResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String jvmOptions;
private @Nullable String relativePath;
private @Nullable String runtimeVersion;
private @Nullable String serverVersion;
private String type;
private @Nullable String version;
public Builder() {}
public Builder(WarUploadedUserSourceInfoResponse defaults) {
Objects.requireNonNull(defaults);
this.jvmOptions = defaults.jvmOptions;
this.relativePath = defaults.relativePath;
this.runtimeVersion = defaults.runtimeVersion;
this.serverVersion = defaults.serverVersion;
this.type = defaults.type;
this.version = defaults.version;
}
@CustomType.Setter
public Builder jvmOptions(@Nullable String jvmOptions) {
this.jvmOptions = jvmOptions;
return this;
}
@CustomType.Setter
public Builder relativePath(@Nullable String relativePath) {
this.relativePath = relativePath;
return this;
}
@CustomType.Setter
public Builder runtimeVersion(@Nullable String runtimeVersion) {
this.runtimeVersion = runtimeVersion;
return this;
}
@CustomType.Setter
public Builder serverVersion(@Nullable String serverVersion) {
this.serverVersion = serverVersion;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("WarUploadedUserSourceInfoResponse", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public WarUploadedUserSourceInfoResponse build() {
final var _resultValue = new WarUploadedUserSourceInfoResponse();
_resultValue.jvmOptions = jvmOptions;
_resultValue.relativePath = relativePath;
_resultValue.runtimeVersion = runtimeVersion;
_resultValue.serverVersion = serverVersion;
_resultValue.type = type;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy