public static final class CfnEntitlementProps.Builder
extends java.lang.Object
CfnEntitlementProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnEntitlementProps.Builder |
appVisibility(java.lang.String appVisibility)
Sets the value of
CfnEntitlementProps.getAppVisibility() |
CfnEntitlementProps.Builder |
attributes(IResolvable attributes)
Sets the value of
CfnEntitlementProps.getAttributes() |
CfnEntitlementProps.Builder |
attributes(java.util.List<? extends java.lang.Object> attributes)
Sets the value of
CfnEntitlementProps.getAttributes() |
CfnEntitlementProps |
build()
Builds the configured instance.
|
CfnEntitlementProps.Builder |
description(java.lang.String description)
Sets the value of
CfnEntitlementProps.getDescription() |
CfnEntitlementProps.Builder |
name(java.lang.String name)
Sets the value of
CfnEntitlementProps.getName() |
CfnEntitlementProps.Builder |
stackName(java.lang.String stackName)
Sets the value of
CfnEntitlementProps.getStackName() |
public CfnEntitlementProps.Builder appVisibility(java.lang.String appVisibility)
CfnEntitlementProps.getAppVisibility()
appVisibility
- Specifies whether to entitle all apps or only selected apps. This parameter is required.this
public CfnEntitlementProps.Builder attributes(IResolvable attributes)
CfnEntitlementProps.getAttributes()
attributes
- The attributes of the entitlement. This parameter is required.this
public CfnEntitlementProps.Builder attributes(java.util.List<? extends java.lang.Object> attributes)
CfnEntitlementProps.getAttributes()
attributes
- The attributes of the entitlement. This parameter is required.this
public CfnEntitlementProps.Builder name(java.lang.String name)
CfnEntitlementProps.getName()
name
- The name of the entitlement. This parameter is required.this
public CfnEntitlementProps.Builder stackName(java.lang.String stackName)
CfnEntitlementProps.getStackName()
stackName
- The name of the stack. This parameter is required.this
public CfnEntitlementProps.Builder description(java.lang.String description)
CfnEntitlementProps.getDescription()
description
- The description of the entitlement.this
public CfnEntitlementProps build()
CfnEntitlementProps
java.lang.NullPointerException
- if any required attribute was not provided