Class ComponentReference.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.ComponentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComponentReference>
- Enclosing interface:
ComponentReference
@Stability(Stable)
public static final class ComponentReference.Builder
extends Object
implements software.amazon.jsii.Builder<ComponentReference>
A builder for
ComponentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofComponentReference.getAppId()build()Builds the configured instance.componentId(String componentId) Sets the value ofComponentReference.getComponentId()environmentName(String environmentName) Sets the value ofComponentReference.getEnvironmentName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appId
Sets the value ofComponentReference.getAppId()- Parameters:
appId- The AppId of the Component resource. This parameter is required.- Returns:
this
-
componentId
Sets the value ofComponentReference.getComponentId()- Parameters:
componentId- The Id of the Component resource. This parameter is required.- Returns:
this
-
environmentName
Sets the value ofComponentReference.getEnvironmentName()- Parameters:
environmentName- The EnvironmentName of the Component resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComponentReference>- Returns:
- a new instance of
ComponentReference - Throws:
NullPointerException- if any required attribute was not provided
-