
com.pulumi.aws.ec2clientvpn.outputs.EndpointClientConnectOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.ec2clientvpn.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EndpointClientConnectOptions {
/**
* @return Indicates whether client connect options are enabled. The default is `false` (not enabled).
*
*/
private @Nullable Boolean enabled;
/**
* @return The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
*
*/
private @Nullable String lambdaFunctionArn;
private EndpointClientConnectOptions() {}
/**
* @return Indicates whether client connect options are enabled. The default is `false` (not enabled).
*
*/
public Optional enabled() {
return Optional.ofNullable(this.enabled);
}
/**
* @return The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
*
*/
public Optional lambdaFunctionArn() {
return Optional.ofNullable(this.lambdaFunctionArn);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EndpointClientConnectOptions defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Boolean enabled;
private @Nullable String lambdaFunctionArn;
public Builder() {}
public Builder(EndpointClientConnectOptions defaults) {
Objects.requireNonNull(defaults);
this.enabled = defaults.enabled;
this.lambdaFunctionArn = defaults.lambdaFunctionArn;
}
@CustomType.Setter
public Builder enabled(@Nullable Boolean enabled) {
this.enabled = enabled;
return this;
}
@CustomType.Setter
public Builder lambdaFunctionArn(@Nullable String lambdaFunctionArn) {
this.lambdaFunctionArn = lambdaFunctionArn;
return this;
}
public EndpointClientConnectOptions build() {
final var _resultValue = new EndpointClientConnectOptions();
_resultValue.enabled = enabled;
_resultValue.lambdaFunctionArn = lambdaFunctionArn;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy