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