Class CfnIpAccessSettingsMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnIpAccessSettingsMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIpAccessSettingsMixinProps>
- Enclosing interface:
CfnIpAccessSettingsMixinProps
@Stability(Stable)
public static final class CfnIpAccessSettingsMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIpAccessSettingsMixinProps>
A builder for
CfnIpAccessSettingsMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsMixinProps.getAdditionalEncryptionContext()additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsMixinProps.getAdditionalEncryptionContext()build()Builds the configured instance.customerManagedKey(String customerManagedKey) Sets the value ofCfnIpAccessSettingsMixinProps.getCustomerManagedKey()description(String description) Sets the value ofCfnIpAccessSettingsMixinProps.getDescription()displayName(String displayName) Sets the value ofCfnIpAccessSettingsMixinProps.getDisplayName()Sets the value ofCfnIpAccessSettingsMixinProps.getIpRules()ipRules(IResolvable ipRules) Sets the value ofCfnIpAccessSettingsMixinProps.getIpRules()Sets the value ofCfnIpAccessSettingsMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalEncryptionContext
@Stability(Stable) public CfnIpAccessSettingsMixinProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- Additional encryption context of the IP access settings.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnIpAccessSettingsMixinProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsMixinProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- Additional encryption context of the IP access settings.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnIpAccessSettingsMixinProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnIpAccessSettingsMixinProps.getCustomerManagedKey()- Parameters:
customerManagedKey- The custom managed key of the IP access settings. Pattern :^arn:[\w+=\/,.@-]+:kms:[a-zA-Z0-9\-]*:[a-zA-Z0-9]{1,12}:key\/[a-zA-Z0-9-]+$- Returns:
this
-
description
Sets the value ofCfnIpAccessSettingsMixinProps.getDescription()- Parameters:
description- The description of the IP access settings.- Returns:
this
-
displayName
Sets the value ofCfnIpAccessSettingsMixinProps.getDisplayName()- Parameters:
displayName- The display name of the IP access settings.- Returns:
this
-
ipRules
Sets the value ofCfnIpAccessSettingsMixinProps.getIpRules()- Parameters:
ipRules- The IP rules of the IP access settings.- Returns:
this
-
ipRules
@Stability(Stable) public CfnIpAccessSettingsMixinProps.Builder ipRules(List<? extends Object> ipRules) Sets the value ofCfnIpAccessSettingsMixinProps.getIpRules()- Parameters:
ipRules- The IP rules of the IP access settings.- Returns:
this
-
tags
Sets the value ofCfnIpAccessSettingsMixinProps.getTags()- Parameters:
tags- The tags to add to the IP access settings resource. A tag is a key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIpAccessSettingsMixinProps>- Returns:
- a new instance of
CfnIpAccessSettingsMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-