Class CfnEntitlementMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appstream.mixins.CfnEntitlementMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntitlementMixinProps>
- Enclosing interface:
CfnEntitlementMixinProps
@Stability(Stable)
public static final class CfnEntitlementMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntitlementMixinProps>
A builder for
CfnEntitlementMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappVisibility(String appVisibility) Sets the value ofCfnEntitlementMixinProps.getAppVisibility()attributes(List<? extends Object> attributes) Sets the value ofCfnEntitlementMixinProps.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnEntitlementMixinProps.getAttributes()build()Builds the configured instance.description(String description) Sets the value ofCfnEntitlementMixinProps.getDescription()Sets the value ofCfnEntitlementMixinProps.getName()Sets the value ofCfnEntitlementMixinProps.getStackName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appVisibility
Sets the value ofCfnEntitlementMixinProps.getAppVisibility()- Parameters:
appVisibility- Specifies whether to entitle all apps or only selected apps.- Returns:
this
-
attributes
Sets the value ofCfnEntitlementMixinProps.getAttributes()- Parameters:
attributes- The attributes of the entitlement.- Returns:
this
-
attributes
@Stability(Stable) public CfnEntitlementMixinProps.Builder attributes(List<? extends Object> attributes) Sets the value ofCfnEntitlementMixinProps.getAttributes()- Parameters:
attributes- The attributes of the entitlement.- Returns:
this
-
description
Sets the value ofCfnEntitlementMixinProps.getDescription()- Parameters:
description- The description of the entitlement.- Returns:
this
-
name
Sets the value ofCfnEntitlementMixinProps.getName()- Parameters:
name- The name of the entitlement.- Returns:
this
-
stackName
Sets the value ofCfnEntitlementMixinProps.getStackName()- Parameters:
stackName- The name of the stack.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEntitlementMixinProps>- Returns:
- a new instance of
CfnEntitlementMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-