Class CfnEntitlement.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnEntitlement.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEntitlement>
- Enclosing class:
CfnEntitlement
@Stability(Stable)
public static final class CfnEntitlement.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEntitlement>
A fluent builder for
CfnEntitlement
.-
Method Summary
Modifier and TypeMethodDescriptionappVisibility
(String appVisibility) Specifies whether to entitle all apps or only selected apps.attributes
(List<? extends Object> attributes) The attributes of the entitlement.attributes
(IResolvable attributes) The attributes of the entitlement.build()
static CfnEntitlement.Builder
description
(String description) The description of the entitlement.The name of the entitlement.The name of the stack.
-
Method Details
-
create
@Stability(Stable) public static CfnEntitlement.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnEntitlement.Builder
.
-
appVisibility
Specifies whether to entitle all apps or only selected apps.- Parameters:
appVisibility
- Specifies whether to entitle all apps or only selected apps. This parameter is required.- Returns:
this
- See Also:
-
attributes
The attributes of the entitlement.- Parameters:
attributes
- The attributes of the entitlement. This parameter is required.- Returns:
this
- See Also:
-
attributes
The attributes of the entitlement.- Parameters:
attributes
- The attributes of the entitlement. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the entitlement.- Parameters:
name
- The name of the entitlement. This parameter is required.- Returns:
this
- See Also:
-
stackName
The name of the stack.- Parameters:
stackName
- The name of the stack. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the entitlement.- Parameters:
description
- The description of the entitlement. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEntitlement>
- Returns:
- a newly built instance of
CfnEntitlement
.
-