Class ApplicationVersionReference.Builder
java.lang.Object
software.amazon.awscdk.services.elasticbeanstalk.ApplicationVersionReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApplicationVersionReference>
- Enclosing interface:
ApplicationVersionReference
@Stability(Stable)
public static final class ApplicationVersionReference.Builder
extends Object
implements software.amazon.jsii.Builder<ApplicationVersionReference>
A builder for
ApplicationVersionReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationName
(String applicationName) Sets the value ofApplicationVersionReference.getApplicationName()
applicationVersionId
(String applicationVersionId) Sets the value ofApplicationVersionReference.getApplicationVersionId()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationName
@Stability(Stable) public ApplicationVersionReference.Builder applicationName(String applicationName) Sets the value ofApplicationVersionReference.getApplicationName()
- Parameters:
applicationName
- The ApplicationName of the ApplicationVersion resource. This parameter is required.- Returns:
this
-
applicationVersionId
@Stability(Stable) public ApplicationVersionReference.Builder applicationVersionId(String applicationVersionId) Sets the value ofApplicationVersionReference.getApplicationVersionId()
- Parameters:
applicationVersionId
- The Id of the ApplicationVersion resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ApplicationVersionReference>
- Returns:
- a new instance of
ApplicationVersionReference
- Throws:
NullPointerException
- if any required attribute was not provided
-