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