
com.pulumi.aws.lambda.outputs.GetInvocationResult 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.aws.lambda.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 GetInvocationResult {
private String functionName;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String input;
private @Nullable String qualifier;
/**
* @return String result of the lambda function invocation.
*
*/
private String result;
private GetInvocationResult() {}
public String functionName() {
return this.functionName;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String input() {
return this.input;
}
public Optional qualifier() {
return Optional.ofNullable(this.qualifier);
}
/**
* @return String result of the lambda function invocation.
*
*/
public String result() {
return this.result;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInvocationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String functionName;
private String id;
private String input;
private @Nullable String qualifier;
private String result;
public Builder() {}
public Builder(GetInvocationResult defaults) {
Objects.requireNonNull(defaults);
this.functionName = defaults.functionName;
this.id = defaults.id;
this.input = defaults.input;
this.qualifier = defaults.qualifier;
this.result = defaults.result;
}
@CustomType.Setter
public Builder functionName(String functionName) {
if (functionName == null) {
throw new MissingRequiredPropertyException("GetInvocationResult", "functionName");
}
this.functionName = functionName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetInvocationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder input(String input) {
if (input == null) {
throw new MissingRequiredPropertyException("GetInvocationResult", "input");
}
this.input = input;
return this;
}
@CustomType.Setter
public Builder qualifier(@Nullable String qualifier) {
this.qualifier = qualifier;
return this;
}
@CustomType.Setter
public Builder result(String result) {
if (result == null) {
throw new MissingRequiredPropertyException("GetInvocationResult", "result");
}
this.result = result;
return this;
}
public GetInvocationResult build() {
final var _resultValue = new GetInvocationResult();
_resultValue.functionName = functionName;
_resultValue.id = id;
_resultValue.input = input;
_resultValue.qualifier = qualifier;
_resultValue.result = result;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy