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