public static final class CognitoUserPoolsTrait.Builder extends AbstractTraitBuilder<CognitoUserPoolsTrait,CognitoUserPoolsTrait.Builder>
CognitoUserPoolsTrait
.Modifier and Type | Method and Description |
---|---|
CognitoUserPoolsTrait.Builder |
addProviderArn(java.lang.String arn)
Adds a provider ARN.
|
CognitoUserPoolsTrait |
build()
Creates an immutable object that is created from the properties
that have been set on the builder.
|
CognitoUserPoolsTrait.Builder |
clearProviderArns()
Clears all provider ARNs from the builder.
|
CognitoUserPoolsTrait.Builder |
providerArns(java.util.List<java.lang.String> providerArns)
Sets the provider ARNs.
|
getSourceLocation, sourceLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
requiredState
public CognitoUserPoolsTrait build()
SmithyBuilder
public CognitoUserPoolsTrait.Builder providerArns(java.util.List<java.lang.String> providerArns)
providerArns
- ARNS to set.public CognitoUserPoolsTrait.Builder addProviderArn(java.lang.String arn)
arn
- ARN to add.public CognitoUserPoolsTrait.Builder clearProviderArns()