Class CfnRegistryRecord.DescriptorSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.DescriptorSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.DescriptorSourceProperty>
- Enclosing interface:
CfnRegistryRecord.DescriptorSourceProperty
@Stability(Stable)
public static final class CfnRegistryRecord.DescriptorSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.DescriptorSourceProperty>
A builder for
CfnRegistryRecord.DescriptorSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fromUrl(IResolvable fromUrl) Sets the value ofCfnRegistryRecord.DescriptorSourceProperty.getFromUrl()Sets the value ofCfnRegistryRecord.DescriptorSourceProperty.getFromUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fromUrl
@Stability(Stable) public CfnRegistryRecord.DescriptorSourceProperty.Builder fromUrl(IResolvable fromUrl) Sets the value ofCfnRegistryRecord.DescriptorSourceProperty.getFromUrl()- Parameters:
fromUrl- URL-based descriptor source configuration, with credential provider configurations for authenticated URL retrieval.- Returns:
this
-
fromUrl
@Stability(Stable) public CfnRegistryRecord.DescriptorSourceProperty.Builder fromUrl(CfnRegistryRecord.DescriptorSourceFromUrlProperty fromUrl) Sets the value ofCfnRegistryRecord.DescriptorSourceProperty.getFromUrl()- Parameters:
fromUrl- URL-based descriptor source configuration, with credential provider configurations for authenticated URL retrieval.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.DescriptorSourceProperty>- Returns:
- a new instance of
CfnRegistryRecord.DescriptorSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-