com.pulumi.aws.cognito.inputs.GetUserPoolsPlainArgs 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.cognito.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetUserPoolsPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetUserPoolsPlainArgs Empty = new GetUserPoolsPlainArgs();
/**
* Name of the cognito user pools. Name is not a unique attribute for cognito user pool, so multiple pools might be returned with given name. If the pool name is expected to be unique, you can reference the pool id via ```tolist(data.aws_cognito_user_pools.selected.ids)[0]```
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return Name of the cognito user pools. Name is not a unique attribute for cognito user pool, so multiple pools might be returned with given name. If the pool name is expected to be unique, you can reference the pool id via ```tolist(data.aws_cognito_user_pools.selected.ids)[0]```
*
*/
public String name() {
return this.name;
}
private GetUserPoolsPlainArgs() {}
private GetUserPoolsPlainArgs(GetUserPoolsPlainArgs $) {
this.name = $.name;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUserPoolsPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetUserPoolsPlainArgs $;
public Builder() {
$ = new GetUserPoolsPlainArgs();
}
public Builder(GetUserPoolsPlainArgs defaults) {
$ = new GetUserPoolsPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param name Name of the cognito user pools. Name is not a unique attribute for cognito user pool, so multiple pools might be returned with given name. If the pool name is expected to be unique, you can reference the pool id via ```tolist(data.aws_cognito_user_pools.selected.ids)[0]```
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
public GetUserPoolsPlainArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetUserPoolsPlainArgs", "name");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy