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