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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BackendAPIAuthType.Buildermode(String mode)Describes the authentication mode.BackendAPIAuthType.Buildermode(Mode mode)Describes the authentication mode.default BackendAPIAuthType.Buildersettings(Consumer<BackendAPIAppSyncAuthSettings.Builder> settings)Describes settings for the authentication mode.BackendAPIAuthType.Buildersettings(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 Detail
-
mode
BackendAPIAuthType.Builder mode(String mode)
Describes the authentication mode.
-
mode
BackendAPIAuthType.Builder mode(Mode mode)
Describes the authentication mode.
-
settings
BackendAPIAuthType.Builder settings(BackendAPIAppSyncAuthSettings 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.Builderavoiding the need to create one manually viaBackendAPIAppSyncAuthSettings.builder().When the
Consumercompletes,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:
settings(BackendAPIAppSyncAuthSettings)
-
-