Class CfnRegistryRecord.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord>
- Enclosing class:
CfnRegistryRecord
@Stability(Stable)
public static final class CfnRegistryRecord.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord>
A fluent builder for
CfnRegistryRecord.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnRegistryRecord.Builderdescription(String description) The description of the registry record.descriptors(IResolvable descriptors) The typed set of descriptors for a registry record.descriptors(CfnRegistryRecord.DescriptorsProperty descriptors) The typed set of descriptors for a registry record.displayName(String displayName) The human-readable display name of the registry record.The name of the registry record.recordType(String recordType) The type of the registry record.recordVersion(String recordVersion) The version of the registry record.registryId(String registryId) The identifier of the registry containing the record.Tags to assign to the registry record.
-
Method Details
-
create
@Stability(Stable) public static CfnRegistryRecord.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnRegistryRecord.Builder.
-
descriptors
The typed set of descriptors for a registry record.Exactly one descriptor field is populated based on the record type.
- Parameters:
descriptors- The typed set of descriptors for a registry record. This parameter is required.- Returns:
this- See Also:
-
descriptors
@Stability(Stable) public CfnRegistryRecord.Builder descriptors(CfnRegistryRecord.DescriptorsProperty descriptors) The typed set of descriptors for a registry record.Exactly one descriptor field is populated based on the record type.
- Parameters:
descriptors- The typed set of descriptors for a registry record. This parameter is required.- Returns:
this- See Also:
-
name
The name of the registry record.- Parameters:
name- The name of the registry record. This parameter is required.- Returns:
this- See Also:
-
recordType
The type of the registry record.- Parameters:
recordType- The type of the registry record. This parameter is required.- Returns:
this- See Also:
-
registryId
The identifier of the registry containing the record.- Parameters:
registryId- The identifier of the registry containing the record. This parameter is required.- Returns:
this- See Also:
-
description
The description of the registry record.- Parameters:
description- The description of the registry record. This parameter is required.- Returns:
this- See Also:
-
displayName
The human-readable display name of the registry record.- Parameters:
displayName- The human-readable display name of the registry record. This parameter is required.- Returns:
this- See Also:
-
recordVersion
The version of the registry record.- Parameters:
recordVersion- The version of the registry record. This parameter is required.- Returns:
this- See Also:
-
tags
Tags to assign to the registry record.- Parameters:
tags- Tags to assign to the registry record. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord>- Returns:
- a newly built instance of
CfnRegistryRecord.
-