com.pulumi.aws.ssm.outputs.MaintenanceWindowTaskTaskInvocationParametersLambdaParameters 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.ssm.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 MaintenanceWindowTaskTaskInvocationParametersLambdaParameters {
/**
* @return Pass client-specific information to the Lambda function that you are invoking.
*
*/
private @Nullable String clientContext;
/**
* @return JSON to provide to your Lambda function as input.
*
*/
private @Nullable String payload;
/**
* @return Specify a Lambda function version or alias name.
*
*/
private @Nullable String qualifier;
private MaintenanceWindowTaskTaskInvocationParametersLambdaParameters() {}
/**
* @return Pass client-specific information to the Lambda function that you are invoking.
*
*/
public Optional clientContext() {
return Optional.ofNullable(this.clientContext);
}
/**
* @return JSON to provide to your Lambda function as input.
*
*/
public Optional payload() {
return Optional.ofNullable(this.payload);
}
/**
* @return Specify a Lambda function version or alias name.
*
*/
public Optional qualifier() {
return Optional.ofNullable(this.qualifier);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(MaintenanceWindowTaskTaskInvocationParametersLambdaParameters defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientContext;
private @Nullable String payload;
private @Nullable String qualifier;
public Builder() {}
public Builder(MaintenanceWindowTaskTaskInvocationParametersLambdaParameters defaults) {
Objects.requireNonNull(defaults);
this.clientContext = defaults.clientContext;
this.payload = defaults.payload;
this.qualifier = defaults.qualifier;
}
@CustomType.Setter
public Builder clientContext(@Nullable String clientContext) {
this.clientContext = clientContext;
return this;
}
@CustomType.Setter
public Builder payload(@Nullable String payload) {
this.payload = payload;
return this;
}
@CustomType.Setter
public Builder qualifier(@Nullable String qualifier) {
this.qualifier = qualifier;
return this;
}
public MaintenanceWindowTaskTaskInvocationParametersLambdaParameters build() {
final var _resultValue = new MaintenanceWindowTaskTaskInvocationParametersLambdaParameters();
_resultValue.clientContext = clientContext;
_resultValue.payload = payload;
_resultValue.qualifier = qualifier;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy