Class CfnRegistryRecord.DescriptorSourceFromUrlProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.DescriptorSourceFromUrlProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.DescriptorSourceFromUrlProperty>
- Enclosing interface:
CfnRegistryRecord.DescriptorSourceFromUrlProperty
@Stability(Stable)
public static final class CfnRegistryRecord.DescriptorSourceFromUrlProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.DescriptorSourceFromUrlProperty>
A builder for
CfnRegistryRecord.DescriptorSourceFromUrlProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialProviderConfigurations(List<? extends Object> credentialProviderConfigurations) credentialProviderConfigurations(IResolvable credentialProviderConfigurations) Sets the value ofCfnRegistryRecord.DescriptorSourceFromUrlProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
url
Sets the value ofCfnRegistryRecord.DescriptorSourceFromUrlProperty.getUrl()- Parameters:
url- URL source for descriptor content. This parameter is required.- Returns:
this
-
credentialProviderConfigurations
@Stability(Stable) public CfnRegistryRecord.DescriptorSourceFromUrlProperty.Builder credentialProviderConfigurations(IResolvable credentialProviderConfigurations) Sets the value ofCfnRegistryRecord.DescriptorSourceFromUrlProperty.getCredentialProviderConfigurations()- Parameters:
credentialProviderConfigurations- The credential providers used to authenticate when fetching descriptor content from the source URL.- Returns:
this
-
credentialProviderConfigurations
@Stability(Stable) public CfnRegistryRecord.DescriptorSourceFromUrlProperty.Builder credentialProviderConfigurations(List<? extends Object> credentialProviderConfigurations) Sets the value ofCfnRegistryRecord.DescriptorSourceFromUrlProperty.getCredentialProviderConfigurations()- Parameters:
credentialProviderConfigurations- The credential providers used to authenticate when fetching descriptor content from the source URL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.DescriptorSourceFromUrlProperty>- Returns:
- a new instance of
CfnRegistryRecord.DescriptorSourceFromUrlProperty - Throws:
NullPointerException- if any required attribute was not provided
-