
com.pulumi.azurenative.awsconnector.outputs.ApplicationResponse 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.awsconnector.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ApplicationResponse {
/**
* @return <p>This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.</p>
*
*/
private @Nullable Map additionalInfo;
/**
* @return <p>Arguments for Amazon EMR to pass to the application.</p>
*
*/
private @Nullable List args;
/**
* @return <p>The name of the application.</p>
*
*/
private @Nullable String name;
/**
* @return <p>The version of the application.</p>
*
*/
private @Nullable String version;
private ApplicationResponse() {}
/**
* @return <p>This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.</p>
*
*/
public Map additionalInfo() {
return this.additionalInfo == null ? Map.of() : this.additionalInfo;
}
/**
* @return <p>Arguments for Amazon EMR to pass to the application.</p>
*
*/
public List args() {
return this.args == null ? List.of() : this.args;
}
/**
* @return <p>The name of the application.</p>
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return <p>The version of the application.</p>
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ApplicationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Map additionalInfo;
private @Nullable List args;
private @Nullable String name;
private @Nullable String version;
public Builder() {}
public Builder(ApplicationResponse defaults) {
Objects.requireNonNull(defaults);
this.additionalInfo = defaults.additionalInfo;
this.args = defaults.args;
this.name = defaults.name;
this.version = defaults.version;
}
@CustomType.Setter
public Builder additionalInfo(@Nullable Map additionalInfo) {
this.additionalInfo = additionalInfo;
return this;
}
@CustomType.Setter
public Builder args(@Nullable List args) {
this.args = args;
return this;
}
public Builder args(String... args) {
return args(List.of(args));
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public ApplicationResponse build() {
final var _resultValue = new ApplicationResponse();
_resultValue.additionalInfo = additionalInfo;
_resultValue.args = args;
_resultValue.name = name;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy