Interface Authorization.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Authorization.Builder,,Authorization> SdkBuilder<Authorization.Builder,,Authorization> SdkPojo
- Enclosing class:
Authorization
@Mutable
@NotThreadSafe
public static interface Authorization.Builder
extends SdkPojo, CopyableBuilder<Authorization.Builder,Authorization>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Authorization.BuildercognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig) The Amazon Cognito configuration.cognitoConfig(CognitoConfig cognitoConfig) The Amazon Cognito configuration.default Authorization.Buildernone(Consumer<None.Builder> none) Provide no authorization for your portal.Provide no authorization for your portal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
cognitoConfig
The Amazon Cognito configuration.
- Parameters:
cognitoConfig- The Amazon Cognito configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoConfig
The Amazon Cognito configuration.
This is a convenience method that creates an instance of theCognitoConfig.Builderavoiding the need to create one manually viaCognitoConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocognitoConfig(CognitoConfig).- Parameters:
cognitoConfig- a consumer that will call methods onCognitoConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
none
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
- Parameters:
none- Provide no authorization for your portal. This makes your portal publicly accesible on the web.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
none
Provide no authorization for your portal. This makes your portal publicly accesible on the web.
This is a convenience method that creates an instance of theNone.Builderavoiding the need to create one manually viaNone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonone(None).- Parameters:
none- a consumer that will call methods onNone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-