Class ExtensionReference.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.ExtensionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ExtensionReference>
- Enclosing interface:
ExtensionReference
@Stability(Stable)
public static final class ExtensionReference.Builder
extends Object
implements software.amazon.jsii.Builder<ExtensionReference>
A builder for
ExtensionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.extensionArn
(String extensionArn) Sets the value ofExtensionReference.getExtensionArn()
extensionId
(String extensionId) Sets the value ofExtensionReference.getExtensionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
extensionArn
Sets the value ofExtensionReference.getExtensionArn()
- Parameters:
extensionArn
- The ARN of the Extension resource. This parameter is required.- Returns:
this
-
extensionId
Sets the value ofExtensionReference.getExtensionId()
- Parameters:
extensionId
- The Id of the Extension resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ExtensionReference>
- Returns:
- a new instance of
ExtensionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-