Class CognitoUserPoolsScopesTrait
java.lang.Object
software.amazon.smithy.model.traits.AbstractTrait
software.amazon.smithy.model.traits.StringListTrait
software.amazon.smithy.aws.traits.auth.CognitoUserPoolsScopesTrait
- All Implemented Interfaces:
FromSourceLocation,ToNode,ToShapeId,Trait,ToSmithyBuilder<CognitoUserPoolsScopesTrait>
public final class CognitoUserPoolsScopesTrait
extends StringListTrait
implements ToSmithyBuilder<CognitoUserPoolsScopesTrait>
Defines the list of OAuth scopes required to invoke an operation that uses
an Amazon Cognito User Pools authorizer.
Applied to an operation in a service that uses the
CognitoUserPoolsTrait. The scopes flow through to the
security requirement of the generated OpenAPI operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from class software.amazon.smithy.model.traits.StringListTrait
StringListTrait.StringListTraitConstructor<T extends StringListTrait> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCognitoUserPoolsScopesTrait(List<String> scopes) CognitoUserPoolsScopesTrait(List<String> scopes, FromSourceLocation sourceLocation) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.smithy.model.traits.StringListTrait
createNode, getValuesMethods inherited from class software.amazon.smithy.model.traits.AbstractTrait
equals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.traits.Trait
isSynthetic
-
Field Details
-
ID
-
-
Constructor Details
-
CognitoUserPoolsScopesTrait
-
CognitoUserPoolsScopesTrait
-
-
Method Details
-
builder
-
toBuilder
Description copied from interface:ToSmithyBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToSmithyBuilder<CognitoUserPoolsScopesTrait>- Returns:
- a builder for type T
-