Interface AuthorizationConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthorizationConfig.Builder,,AuthorizationConfig> SdkBuilder<AuthorizationConfig.Builder,,AuthorizationConfig> SdkPojo
- Enclosing class:
AuthorizationConfig
@Mutable
@NotThreadSafe
public static interface AuthorizationConfig.Builder
extends SdkPojo, CopyableBuilder<AuthorizationConfig.Builder,AuthorizationConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AuthorizationConfig.BuildercognitoConfig(Consumer<CognitoConfig.Builder> cognitoConfig) Readers sign in through an Amazon Cognito user pool.cognitoConfig(CognitoConfig cognitoConfig) Readers sign in through an Amazon Cognito user pool.default AuthorizationConfig.Buildernone(Consumer<None.Builder> none) The portal is public and readers do not sign in.The portal is public and readers do not sign in.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
-
none
The portal is public and readers do not sign in.
- Parameters:
none- The portal is public and readers do not sign in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
none
The portal is public and readers do not sign in.
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:
-
cognitoConfig
Readers sign in through an Amazon Cognito user pool.
- Parameters:
cognitoConfig- Readers sign in through an Amazon Cognito user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cognitoConfig
Readers sign in through an Amazon Cognito user pool.
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:
-