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