Interface DescriptorSourceFromUrl.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DescriptorSourceFromUrl.Builder,,DescriptorSourceFromUrl> SdkBuilder<DescriptorSourceFromUrl.Builder,,DescriptorSourceFromUrl> SdkPojo
- Enclosing class:
DescriptorSourceFromUrl
-
Method Summary
Modifier and TypeMethodDescriptioncredentialProviderConfigurations(Collection<RegistryRecordCredentialProviderConfiguration> credentialProviderConfigurations) The credential providers used to authenticate when fetching descriptor content from the source URL.credentialProviderConfigurations(Consumer<RegistryRecordCredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The credential providers used to authenticate when fetching descriptor content from the source URL.credentialProviderConfigurations(RegistryRecordCredentialProviderConfiguration... credentialProviderConfigurations) The credential providers used to authenticate when fetching descriptor content from the source URL.The URL from which the descriptor content is retrieved.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
-
url
The URL from which the descriptor content is retrieved. For an agent skill source, specify an
s3://URL of an object in a bucket in the same Amazon Web Services Region as the registry. For a GitHub skill source, specify a GitHub folder URL in the formhttps://host/owner/repo/tree/branch-or-tag/path. Other descriptor sources usehttps://URLs.- Parameters:
url- The URL from which the descriptor content is retrieved. For an agent skill source, specify ans3://URL of an object in a bucket in the same Amazon Web Services Region as the registry. For a GitHub skill source, specify a GitHub folder URL in the formhttps://host/owner/repo/tree/branch-or-tag/path. Other descriptor sources usehttps://URLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
DescriptorSourceFromUrl.Builder credentialProviderConfigurations(Collection<RegistryRecordCredentialProviderConfiguration> credentialProviderConfigurations) The credential providers used to authenticate when fetching descriptor content from the source URL.
- Parameters:
credentialProviderConfigurations- The credential providers used to authenticate when fetching descriptor content from the source URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
DescriptorSourceFromUrl.Builder credentialProviderConfigurations(RegistryRecordCredentialProviderConfiguration... credentialProviderConfigurations) The credential providers used to authenticate when fetching descriptor content from the source URL.
- Parameters:
credentialProviderConfigurations- The credential providers used to authenticate when fetching descriptor content from the source URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentialProviderConfigurations
DescriptorSourceFromUrl.Builder credentialProviderConfigurations(Consumer<RegistryRecordCredentialProviderConfiguration.Builder>... credentialProviderConfigurations) The credential providers used to authenticate when fetching descriptor content from the source URL.
This is a convenience method that creates an instance of theRegistryRecordCredentialProviderConfiguration.Builderavoiding the need to create one manually viaRegistryRecordCredentialProviderConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentialProviderConfigurations(List<RegistryRecordCredentialProviderConfiguration>).- Parameters:
credentialProviderConfigurations- a consumer that will call methods onRegistryRecordCredentialProviderConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-