Interface AgentSkillsPackageDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentSkillsPackageDescriptor.Builder,,AgentSkillsPackageDescriptor> SdkBuilder<AgentSkillsPackageDescriptor.Builder,,AgentSkillsPackageDescriptor> SdkPojo
- Enclosing class:
AgentSkillsPackageDescriptor
@Mutable
@NotThreadSafe
public static interface AgentSkillsPackageDescriptor.Builder
extends SdkPojo, CopyableBuilder<AgentSkillsPackageDescriptor.Builder,AgentSkillsPackageDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptionsource(Consumer<DescriptorSource.Builder> source) The source of the skill package.source(DescriptorSource source) The source of the skill package.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 of the skill package. Specify an
s3://URL of a ZIP object, or a GitHub folder URL together withrepositoryProviderset toGITHUB. For a GitHub folder, the registry builds the package from every file in the folder.- Parameters:
source- The source of the skill package. Specify ans3://URL of a ZIP object, or a GitHub folder URL together withrepositoryProviderset toGITHUB. For a GitHub folder, the registry builds the package from every file in the folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The source of the skill package. Specify an
This is a convenience method that creates an instance of thes3://URL of a ZIP object, or a GitHub folder URL together withrepositoryProviderset toGITHUB. For a GitHub folder, the registry builds the package from every file in the folder.DescriptorSource.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:
-