Class CfnIpAccessSettingsProps.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnIpAccessSettingsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIpAccessSettingsProps>
- Enclosing interface:
CfnIpAccessSettingsProps
@Stability(Stable)
public static final class CfnIpAccessSettingsProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIpAccessSettingsProps>
A builder for
CfnIpAccessSettingsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsProps.getAdditionalEncryptionContext()additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsProps.getAdditionalEncryptionContext()build()Builds the configured instance.customerManagedKey(String customerManagedKey) Sets the value ofCfnIpAccessSettingsProps.getCustomerManagedKey()description(String description) Sets the value ofCfnIpAccessSettingsProps.getDescription()displayName(String displayName) Sets the value ofCfnIpAccessSettingsProps.getDisplayName()Sets the value ofCfnIpAccessSettingsProps.getIpRules()ipRules(IResolvable ipRules) Sets the value ofCfnIpAccessSettingsProps.getIpRules()Sets the value ofCfnIpAccessSettingsProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipRules
Sets the value ofCfnIpAccessSettingsProps.getIpRules()- Parameters:
ipRules- The IP rules of the IP access settings. This parameter is required.- Returns:
this
-
ipRules
Sets the value ofCfnIpAccessSettingsProps.getIpRules()- Parameters:
ipRules- The IP rules of the IP access settings. This parameter is required.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnIpAccessSettingsProps.Builder additionalEncryptionContext(Map<String, String> additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- Additional encryption context of the IP access settings.- Returns:
this
-
additionalEncryptionContext
@Stability(Stable) public CfnIpAccessSettingsProps.Builder additionalEncryptionContext(IResolvable additionalEncryptionContext) Sets the value ofCfnIpAccessSettingsProps.getAdditionalEncryptionContext()- Parameters:
additionalEncryptionContext- Additional encryption context of the IP access settings.- Returns:
this
-
customerManagedKey
@Stability(Stable) public CfnIpAccessSettingsProps.Builder customerManagedKey(String customerManagedKey) Sets the value ofCfnIpAccessSettingsProps.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 ofCfnIpAccessSettingsProps.getDescription()- Parameters:
description- The description of the IP access settings.- Returns:
this
-
displayName
Sets the value ofCfnIpAccessSettingsProps.getDisplayName()- Parameters:
displayName- The display name of the IP access settings.- Returns:
this
-
tags
Sets the value ofCfnIpAccessSettingsProps.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<CfnIpAccessSettingsProps>- Returns:
- a new instance of
CfnIpAccessSettingsProps - Throws:
NullPointerException- if any required attribute was not provided
-