Interface HttpInterfaceOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpInterfaceOptions.Builder,,HttpInterfaceOptions> SdkBuilder<HttpInterfaceOptions.Builder,,HttpInterfaceOptions> SdkPojo
- Enclosing class:
HttpInterfaceOptions
@Mutable
@NotThreadSafe
public static interface HttpInterfaceOptions.Builder
extends SdkPojo, CopyableBuilder<HttpInterfaceOptions.Builder,HttpInterfaceOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpInterfaceOptions.Builderauthentication(Consumer<Authentication.Builder> authentication) How clients authenticate when calling this interface.authentication(Authentication authentication) How clients authenticate when calling this interface.The path prefix under which this interface is served.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
How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.
- Parameters:
authentication- How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authentication
default HttpInterfaceOptions.Builder authentication(Consumer<Authentication.Builder> authentication) How clients authenticate when calling this interface. Overrides the authentication in the profile's interfaceDefaults.
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:
-
basePath
The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.
- Parameters:
basePath- The path prefix under which this interface is served. Set by the service; a request that sets it is rejected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-