Class ApplicationReference.Builder
java.lang.Object
software.amazon.awscdk.services.m2.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()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArn
Sets the value ofApplicationReference.getApplicationArn()
- Parameters:
applicationArn
- The ApplicationArn 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
-