Interface InterfaceOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InterfaceOptions.Builder,,InterfaceOptions> SdkBuilder<InterfaceOptions.Builder,,InterfaceOptions> SdkPojo
- Enclosing class:
InterfaceOptions
@Mutable
@NotThreadSafe
public static interface InterfaceOptions.Builder
extends SdkPojo, CopyableBuilder<InterfaceOptions.Builder,InterfaceOptions>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InterfaceOptions.BuilderOptions for an HTTP interface.http(HttpInterfaceOptions http) Options for 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
-
http
Options for an HTTP interface.
- Parameters:
http- Options for an HTTP interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
http
Options for an HTTP interface.
This is a convenience method that creates an instance of theHttpInterfaceOptions.Builderavoiding the need to create one manually viaHttpInterfaceOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohttp(HttpInterfaceOptions).- Parameters:
http- a consumer that will call methods onHttpInterfaceOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-