Class CfnRegistryRecordMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.agentregistry.CfnRegistryRecordMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecordMixinProps>
- Enclosing interface:
CfnRegistryRecordMixinProps
@Stability(Stable)
public static final class CfnRegistryRecordMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecordMixinProps>
A builder for
CfnRegistryRecordMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnRegistryRecordMixinProps.getDescription()Sets the value ofCfnRegistryRecordMixinProps.getDescriptors()descriptors(IResolvable descriptors) Sets the value ofCfnRegistryRecordMixinProps.getDescriptors()displayName(String displayName) Sets the value ofCfnRegistryRecordMixinProps.getDisplayName()Sets the value ofCfnRegistryRecordMixinProps.getName()recordType(String recordType) Sets the value ofCfnRegistryRecordMixinProps.getRecordType()recordVersion(String recordVersion) Sets the value ofCfnRegistryRecordMixinProps.getRecordVersion()registryId(String registryId) Sets the value ofCfnRegistryRecordMixinProps.getRegistryId()Sets the value ofCfnRegistryRecordMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnRegistryRecordMixinProps.getDescription()- Parameters:
description- The description of the registry record.- Returns:
this
-
descriptors
Sets the value ofCfnRegistryRecordMixinProps.getDescriptors()- Parameters:
descriptors- The typed set of descriptors for a registry record. Exactly one descriptor field is populated based on the record type.- Returns:
this
-
descriptors
@Stability(Stable) public CfnRegistryRecordMixinProps.Builder descriptors(CfnRegistryRecordPropsMixin.DescriptorsProperty descriptors) Sets the value ofCfnRegistryRecordMixinProps.getDescriptors()- Parameters:
descriptors- The typed set of descriptors for a registry record. Exactly one descriptor field is populated based on the record type.- Returns:
this
-
displayName
Sets the value ofCfnRegistryRecordMixinProps.getDisplayName()- Parameters:
displayName- The human-readable display name of the registry record.- Returns:
this
-
name
Sets the value ofCfnRegistryRecordMixinProps.getName()- Parameters:
name- The name of the registry record.- Returns:
this
-
recordType
Sets the value ofCfnRegistryRecordMixinProps.getRecordType()- Parameters:
recordType- The type of the registry record.- Returns:
this
-
recordVersion
Sets the value ofCfnRegistryRecordMixinProps.getRecordVersion()- Parameters:
recordVersion- The version of the registry record.- Returns:
this
-
registryId
Sets the value ofCfnRegistryRecordMixinProps.getRegistryId()- Parameters:
registryId- The identifier of the registry in which to create the record. You can specify either the registry ID or the registry Amazon Resource Name (ARN). Use the ARN form to reference a registry shared from another account via AWS Resource Access Manager (RAM).- Returns:
this
-
tags
Sets the value ofCfnRegistryRecordMixinProps.getTags()- Parameters:
tags- Tags to assign to the registry record.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecordMixinProps>- Returns:
- a new instance of
CfnRegistryRecordMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-