Interface DescriptorSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DescriptorSource.Builder,,DescriptorSource> SdkBuilder<DescriptorSource.Builder,,DescriptorSource> SdkPojo
- Enclosing class:
DescriptorSource
@Mutable
@NotThreadSafe
public static interface DescriptorSource.Builder
extends SdkPojo, CopyableBuilder<DescriptorSource.Builder,DescriptorSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescriptorSource.BuilderfromUrl(Consumer<DescriptorSourceFromUrl.Builder> fromUrl) URL-based descriptor source, populated when descriptor content is synchronized from a URL.fromUrl(DescriptorSourceFromUrl fromUrl) URL-based descriptor source, populated when descriptor content is synchronized from a URL.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
-
fromUrl
URL-based descriptor source, populated when descriptor content is synchronized from a URL.
- Parameters:
fromUrl- URL-based descriptor source, populated when descriptor content is synchronized from a URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fromUrl
URL-based descriptor source, populated when descriptor content is synchronized from a URL.
This is a convenience method that creates an instance of theDescriptorSourceFromUrl.Builderavoiding the need to create one manually viaDescriptorSourceFromUrl.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofromUrl(DescriptorSourceFromUrl).- Parameters:
fromUrl- a consumer that will call methods onDescriptorSourceFromUrl.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-