Class CfnExtensionAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.CfnExtensionAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExtensionAssociationProps>
- Enclosing interface:
CfnExtensionAssociationProps
@Stability(Stable)
public static final class CfnExtensionAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExtensionAssociationProps>
A builder for
CfnExtensionAssociationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.extensionIdentifier
(String extensionIdentifier) Sets the value ofCfnExtensionAssociationProps.getExtensionIdentifier()
extensionVersionNumber
(Number extensionVersionNumber) Sets the value ofCfnExtensionAssociationProps.getExtensionVersionNumber()
parameters
(Map<String, String> parameters) Sets the value ofCfnExtensionAssociationProps.getParameters()
parameters
(IResolvable parameters) Sets the value ofCfnExtensionAssociationProps.getParameters()
resourceIdentifier
(String resourceIdentifier) Sets the value ofCfnExtensionAssociationProps.getResourceIdentifier()
Sets the value ofCfnExtensionAssociationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
extensionIdentifier
@Stability(Stable) public CfnExtensionAssociationProps.Builder extensionIdentifier(String extensionIdentifier) Sets the value ofCfnExtensionAssociationProps.getExtensionIdentifier()
- Parameters:
extensionIdentifier
- The name, the ID, or the Amazon Resource Name (ARN) of the extension.- Returns:
this
-
extensionVersionNumber
@Stability(Stable) public CfnExtensionAssociationProps.Builder extensionVersionNumber(Number extensionVersionNumber) Sets the value ofCfnExtensionAssociationProps.getExtensionVersionNumber()
- Parameters:
extensionVersionNumber
- The version number of the extension. If not specified, AWS AppConfig uses the maximum version of the extension.- Returns:
this
-
parameters
Sets the value ofCfnExtensionAssociationProps.getParameters()
- Parameters:
parameters
- The parameter names and values defined in the extensions. Extension parameters markedRequired
must be entered for this field.- Returns:
this
-
parameters
@Stability(Stable) public CfnExtensionAssociationProps.Builder parameters(Map<String, String> parameters) Sets the value ofCfnExtensionAssociationProps.getParameters()
- Parameters:
parameters
- The parameter names and values defined in the extensions. Extension parameters markedRequired
must be entered for this field.- Returns:
this
-
resourceIdentifier
@Stability(Stable) public CfnExtensionAssociationProps.Builder resourceIdentifier(String resourceIdentifier) Sets the value ofCfnExtensionAssociationProps.getResourceIdentifier()
- Parameters:
resourceIdentifier
- The ARN of an application, configuration profile, or environment.- Returns:
this
-
tags
Sets the value ofCfnExtensionAssociationProps.getTags()
- Parameters:
tags
- Adds one or more tags for the specified extension association. Tags are metadata that help you categorize resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnExtensionAssociationProps>
- Returns:
- a new instance of
CfnExtensionAssociationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-