Interface HttpDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpDescriptor.Builder,,HttpDescriptor> SdkBuilder<HttpDescriptor.Builder,,HttpDescriptor> SdkPojo
- Enclosing class:
HttpDescriptor
@Mutable
@NotThreadSafe
public static interface HttpDescriptor.Builder
extends SdkPojo, CopyableBuilder<HttpDescriptor.Builder,HttpDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpDescriptor.Buildersource(Consumer<DescriptorSource.Builder> source) The source location of the HTTP endpoint.source(DescriptorSource source) The source location of the HTTP endpoint.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
-
source
The source location of the HTTP endpoint.
- Parameters:
source- The source location of the HTTP endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source location of the HTTP endpoint.
This is a convenience method that creates an instance of theDescriptorSource.Builderavoiding the need to create one manually viaDescriptorSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(DescriptorSource).- Parameters:
source- a consumer that will call methods onDescriptorSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-