com.pulumi.aws.appsync.outputs.GraphQLApiAdditionalAuthenticationProviderUserPoolConfig 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.
The newest version!
// *** 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.appsync.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 GraphQLApiAdditionalAuthenticationProviderUserPoolConfig {
/**
* @return Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
*
*/
private @Nullable String appIdClientRegex;
/**
* @return AWS region in which the user pool was created.
*
*/
private @Nullable String awsRegion;
/**
* @return User pool ID.
*
*/
private String userPoolId;
private GraphQLApiAdditionalAuthenticationProviderUserPoolConfig() {}
/**
* @return Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
*
*/
public Optional appIdClientRegex() {
return Optional.ofNullable(this.appIdClientRegex);
}
/**
* @return AWS region in which the user pool was created.
*
*/
public Optional awsRegion() {
return Optional.ofNullable(this.awsRegion);
}
/**
* @return User pool ID.
*
*/
public String userPoolId() {
return this.userPoolId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GraphQLApiAdditionalAuthenticationProviderUserPoolConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String appIdClientRegex;
private @Nullable String awsRegion;
private String userPoolId;
public Builder() {}
public Builder(GraphQLApiAdditionalAuthenticationProviderUserPoolConfig defaults) {
Objects.requireNonNull(defaults);
this.appIdClientRegex = defaults.appIdClientRegex;
this.awsRegion = defaults.awsRegion;
this.userPoolId = defaults.userPoolId;
}
@CustomType.Setter
public Builder appIdClientRegex(@Nullable String appIdClientRegex) {
this.appIdClientRegex = appIdClientRegex;
return this;
}
@CustomType.Setter
public Builder awsRegion(@Nullable String awsRegion) {
this.awsRegion = awsRegion;
return this;
}
@CustomType.Setter
public Builder userPoolId(String userPoolId) {
if (userPoolId == null) {
throw new MissingRequiredPropertyException("GraphQLApiAdditionalAuthenticationProviderUserPoolConfig", "userPoolId");
}
this.userPoolId = userPoolId;
return this;
}
public GraphQLApiAdditionalAuthenticationProviderUserPoolConfig build() {
final var _resultValue = new GraphQLApiAdditionalAuthenticationProviderUserPoolConfig();
_resultValue.appIdClientRegex = appIdClientRegex;
_resultValue.awsRegion = awsRegion;
_resultValue.userPoolId = userPoolId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy