Interface HttpInterfaceDefaults.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpInterfaceDefaults.Builder,,HttpInterfaceDefaults> SdkBuilder<HttpInterfaceDefaults.Builder,,HttpInterfaceDefaults> SdkPojo
- Enclosing class:
HttpInterfaceDefaults
@Mutable
@NotThreadSafe
public static interface HttpInterfaceDefaults.Builder
extends SdkPojo, CopyableBuilder<HttpInterfaceDefaults.Builder,HttpInterfaceDefaults>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpInterfaceDefaults.Builderauthentication(Consumer<Authentication.Builder> authentication) The default authentication for clients calling an HTTP interface.authentication(Authentication authentication) The default authentication for clients calling an HTTP interface.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
-
authentication
The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.
- Parameters:
authentication- The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default HttpInterfaceDefaults.Builder authentication(Consumer<Authentication.Builder> authentication) The default authentication for clients calling an HTTP interface. Applies unless the profile entry sets authentication in that interface's options.
This is a convenience method that creates an instance of theAuthentication.Builderavoiding the need to create one manually viaAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toauthentication(Authentication).- Parameters:
authentication- a consumer that will call methods onAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-