Class CfnEnvironmentMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.evs.CfnEnvironmentMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEnvironmentMixinProps>
- Enclosing interface:
CfnEnvironmentMixinProps
@Stability(Stable)
public static final class CfnEnvironmentMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEnvironmentMixinProps>
A builder for
CfnEnvironmentMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectivityInfo(CfnEnvironmentPropsMixin.ConnectivityInfoProperty connectivityInfo) Sets the value ofCfnEnvironmentMixinProps.getConnectivityInfo()connectivityInfo(IResolvable connectivityInfo) Sets the value ofCfnEnvironmentMixinProps.getConnectivityInfo()environmentName(String environmentName) Sets the value ofCfnEnvironmentMixinProps.getEnvironmentName()Sets the value ofCfnEnvironmentMixinProps.getHosts()hosts(IResolvable hosts) Sets the value ofCfnEnvironmentMixinProps.getHosts()initialVlans(CfnEnvironmentPropsMixin.InitialVlansProperty initialVlans) Sets the value ofCfnEnvironmentMixinProps.getInitialVlans()initialVlans(IResolvable initialVlans) Sets the value ofCfnEnvironmentMixinProps.getInitialVlans()Sets the value ofCfnEnvironmentMixinProps.getKmsKeyId()licenseInfo(CfnEnvironmentPropsMixin.LicenseInfoProperty licenseInfo) Sets the value ofCfnEnvironmentMixinProps.getLicenseInfo()licenseInfo(IResolvable licenseInfo) Sets the value ofCfnEnvironmentMixinProps.getLicenseInfo()serviceAccessSecurityGroups(CfnEnvironmentPropsMixin.ServiceAccessSecurityGroupsProperty serviceAccessSecurityGroups) Sets the value ofCfnEnvironmentMixinProps.getServiceAccessSecurityGroups()serviceAccessSecurityGroups(IResolvable serviceAccessSecurityGroups) Sets the value ofCfnEnvironmentMixinProps.getServiceAccessSecurityGroups()serviceAccessSubnetId(String serviceAccessSubnetId) Sets the value ofCfnEnvironmentMixinProps.getServiceAccessSubnetId()Sets the value ofCfnEnvironmentMixinProps.getSiteId()Sets the value ofCfnEnvironmentMixinProps.getTags()termsAccepted(Boolean termsAccepted) Sets the value ofCfnEnvironmentMixinProps.getTermsAccepted()termsAccepted(IResolvable termsAccepted) Sets the value ofCfnEnvironmentMixinProps.getTermsAccepted()vcfHostnames(CfnEnvironmentPropsMixin.VcfHostnamesProperty vcfHostnames) Sets the value ofCfnEnvironmentMixinProps.getVcfHostnames()vcfHostnames(IResolvable vcfHostnames) Sets the value ofCfnEnvironmentMixinProps.getVcfHostnames()vcfVersion(String vcfVersion) Sets the value ofCfnEnvironmentMixinProps.getVcfVersion()Sets the value ofCfnEnvironmentMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectivityInfo
@Stability(Stable) public CfnEnvironmentMixinProps.Builder connectivityInfo(IResolvable connectivityInfo) Sets the value ofCfnEnvironmentMixinProps.getConnectivityInfo()- Parameters:
connectivityInfo- The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.- Returns:
this
-
connectivityInfo
@Stability(Stable) public CfnEnvironmentMixinProps.Builder connectivityInfo(CfnEnvironmentPropsMixin.ConnectivityInfoProperty connectivityInfo) Sets the value ofCfnEnvironmentMixinProps.getConnectivityInfo()- Parameters:
connectivityInfo- The connectivity configuration for the environment. Amazon EVS requires that you specify two route server peer IDs. During environment creation, the route server endpoints peer with the NSX uplink VLAN for connectivity to the NSX overlay network.- Returns:
this
-
environmentName
Sets the value ofCfnEnvironmentMixinProps.getEnvironmentName()- Parameters:
environmentName- The name of the environment.- Returns:
this
-
hosts
Sets the value ofCfnEnvironmentMixinProps.getHosts()- Parameters:
hosts- Required for environment resource creation.- Returns:
this
-
hosts
Sets the value ofCfnEnvironmentMixinProps.getHosts()- Parameters:
hosts- Required for environment resource creation.- Returns:
this
-
initialVlans
Sets the value ofCfnEnvironmentMixinProps.getInitialVlans()- Parameters:
initialVlans-
The initial VLAN subnets for the environment. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC.Amazon EVS is in public preview release and is subject to change.
Required for environment resource creation.
- Returns:
this
-
initialVlans
@Stability(Stable) public CfnEnvironmentMixinProps.Builder initialVlans(CfnEnvironmentPropsMixin.InitialVlansProperty initialVlans) Sets the value ofCfnEnvironmentMixinProps.getInitialVlans()- Parameters:
initialVlans-
The initial VLAN subnets for the environment. Amazon EVS VLAN subnets have a minimum CIDR block size of /28 and a maximum size of /24. Amazon EVS VLAN subnet CIDR blocks must not overlap with other subnets in the VPC.Amazon EVS is in public preview release and is subject to change.
Required for environment resource creation.
- Returns:
this
-
kmsKeyId
Sets the value ofCfnEnvironmentMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- The AWS KMS key ID that AWS Secrets Manager uses to encrypt secrets that are associated with the environment. These secrets contain the VCF credentials that are needed to install vCenter Server, NSX, and SDDC Manager.By default, Amazon EVS use the AWS Secrets Manager managed key
aws/secretsmanager. You can also specify a customer managed key.- Returns:
this
-
licenseInfo
Sets the value ofCfnEnvironmentMixinProps.getLicenseInfo()- Parameters:
licenseInfo- The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity.- Returns:
this
-
licenseInfo
@Stability(Stable) public CfnEnvironmentMixinProps.Builder licenseInfo(CfnEnvironmentPropsMixin.LicenseInfoProperty licenseInfo) Sets the value ofCfnEnvironmentMixinProps.getLicenseInfo()- Parameters:
licenseInfo- The license information that Amazon EVS requires to create an environment. Amazon EVS requires two license keys: a VCF solution key and a vSAN license key. The VCF solution key must cover a minimum of 256 cores. The vSAN license key must provide at least 110 TiB of vSAN capacity.- Returns:
this
-
serviceAccessSecurityGroups
@Stability(Stable) public CfnEnvironmentMixinProps.Builder serviceAccessSecurityGroups(IResolvable serviceAccessSecurityGroups) Sets the value ofCfnEnvironmentMixinProps.getServiceAccessSecurityGroups()- Parameters:
serviceAccessSecurityGroups- The security groups that allow traffic between the Amazon EVS control plane and your VPC for service access. If a security group is not specified, Amazon EVS uses the default security group in your account for service access.- Returns:
this
-
serviceAccessSecurityGroups
@Stability(Stable) public CfnEnvironmentMixinProps.Builder serviceAccessSecurityGroups(CfnEnvironmentPropsMixin.ServiceAccessSecurityGroupsProperty serviceAccessSecurityGroups) Sets the value ofCfnEnvironmentMixinProps.getServiceAccessSecurityGroups()- Parameters:
serviceAccessSecurityGroups- The security groups that allow traffic between the Amazon EVS control plane and your VPC for service access. If a security group is not specified, Amazon EVS uses the default security group in your account for service access.- Returns:
this
-
serviceAccessSubnetId
@Stability(Stable) public CfnEnvironmentMixinProps.Builder serviceAccessSubnetId(String serviceAccessSubnetId) Sets the value ofCfnEnvironmentMixinProps.getServiceAccessSubnetId()- Parameters:
serviceAccessSubnetId- The subnet that is used to establish connectivity between the Amazon EVS control plane and VPC. Amazon EVS uses this subnet to perform validations and create the environment.- Returns:
this
-
siteId
Sets the value ofCfnEnvironmentMixinProps.getSiteId()- Parameters:
siteId- The Broadcom Site ID that is associated with your Amazon EVS environment. Amazon EVS uses the Broadcom Site ID that you provide to meet Broadcom VCF license usage reporting requirements for Amazon EVS.- Returns:
this
-
tags
Sets the value ofCfnEnvironmentMixinProps.getTags()- Parameters:
tags- Metadata that assists with categorization and organization. Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or AWS resources.- Returns:
this
-
termsAccepted
Sets the value ofCfnEnvironmentMixinProps.getTermsAccepted()- Parameters:
termsAccepted- Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.- Returns:
this
-
termsAccepted
Sets the value ofCfnEnvironmentMixinProps.getTermsAccepted()- Parameters:
termsAccepted- Customer confirmation that the customer has purchased and will continue to maintain the required number of VCF software licenses to cover all physical processor cores in the Amazon EVS environment. Information about your VCF software in Amazon EVS will be shared with Broadcom to verify license compliance. Amazon EVS does not validate license keys. To validate license keys, visit the Broadcom support portal.- Returns:
this
-
vcfHostnames
Sets the value ofCfnEnvironmentMixinProps.getVcfHostnames()- Parameters:
vcfHostnames- The DNS hostnames to be used by the VCF management appliances in your environment. For environment creation to be successful, each hostname entry must resolve to a domain name that you've registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started.- Returns:
this
-
vcfHostnames
@Stability(Stable) public CfnEnvironmentMixinProps.Builder vcfHostnames(CfnEnvironmentPropsMixin.VcfHostnamesProperty vcfHostnames) Sets the value ofCfnEnvironmentMixinProps.getVcfHostnames()- Parameters:
vcfHostnames- The DNS hostnames to be used by the VCF management appliances in your environment. For environment creation to be successful, each hostname entry must resolve to a domain name that you've registered in your DNS service of choice and configured in the DHCP option set of your VPC. DNS hostnames cannot be changed after environment creation has started.- Returns:
this
-
vcfVersion
Sets the value ofCfnEnvironmentMixinProps.getVcfVersion()- Parameters:
vcfVersion- The VCF version of the environment.- Returns:
this
-
vpcId
Sets the value ofCfnEnvironmentMixinProps.getVpcId()- Parameters:
vpcId- The VPC associated with the environment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEnvironmentMixinProps>- Returns:
- a new instance of
CfnEnvironmentMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-