Interface BackendAPIAuthType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BackendAPIAuthType.Builder,
,BackendAPIAuthType> SdkBuilder<BackendAPIAuthType.Builder,
,BackendAPIAuthType> SdkPojo
- Enclosing class:
BackendAPIAuthType
public static interface BackendAPIAuthType.Builder
extends SdkPojo, CopyableBuilder<BackendAPIAuthType.Builder,BackendAPIAuthType>
-
Method Summary
Modifier and TypeMethodDescriptionDescribes the authentication mode.Describes the authentication mode.default BackendAPIAuthType.Builder
Describes settings for the authentication mode.settings
(BackendAPIAppSyncAuthSettings settings) Describes settings for the authentication mode.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
mode
Describes the authentication mode.
- Parameters:
mode
- Describes the authentication mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mode
Describes the authentication mode.
- Parameters:
mode
- Describes the authentication mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
settings
Describes settings for the authentication mode.
- Parameters:
settings
- Describes settings for the authentication mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
settings
default BackendAPIAuthType.Builder settings(Consumer<BackendAPIAppSyncAuthSettings.Builder> settings) Describes settings for the authentication mode.
This is a convenience method that creates an instance of theBackendAPIAppSyncAuthSettings.Builder
avoiding the need to create one manually viaBackendAPIAppSyncAuthSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosettings(BackendAPIAppSyncAuthSettings)
.- Parameters:
settings
- a consumer that will call methods onBackendAPIAppSyncAuthSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-