Interface DescriptorEntry.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DescriptorEntry.Builder,,DescriptorEntry> SdkBuilder<DescriptorEntry.Builder,,DescriptorEntry> SdkPojo
- Enclosing class:
DescriptorEntry
@Mutable
@NotThreadSafe
public static interface DescriptorEntry.Builder
extends SdkPojo, CopyableBuilder<DescriptorEntry.Builder,DescriptorEntry>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalData(Map<String, DescriptorEntry> additionalData) Nested sub-descriptors keyed by slot name (e.g.Inline descriptor content (JSON string).default DescriptorEntry.Buildersource(Consumer<DescriptorSource.Builder> source) Reference to externally-hosted descriptor content.source(DescriptorSource source) Reference to externally-hosted descriptor content.Descriptor type version.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
-
data
Inline descriptor content (JSON string).
- Parameters:
data- Inline descriptor content (JSON string).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Descriptor type version.
- Parameters:
version- Descriptor type version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Reference to externally-hosted descriptor content.
- Parameters:
source- Reference to externally-hosted descriptor content.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Reference to externally-hosted descriptor content.
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:
-
additionalData
Nested sub-descriptors keyed by slot name (e.g.
tools,skillMd).- Parameters:
additionalData- Nested sub-descriptors keyed by slot name (e.g.tools,skillMd).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-