Class CfnVPCEConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.devicefarm.CfnVPCEConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEConfigurationProps>
- Enclosing interface:
CfnVPCEConfigurationProps
@Stability(Stable)
public static final class CfnVPCEConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEConfigurationProps>
A builder for
CfnVPCEConfigurationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.serviceDnsName
(String serviceDnsName) Sets the value ofCfnVPCEConfigurationProps.getServiceDnsName()
Sets the value ofCfnVPCEConfigurationProps.getTags()
vpceConfigurationDescription
(String vpceConfigurationDescription) Sets the value ofCfnVPCEConfigurationProps.getVpceConfigurationDescription()
vpceConfigurationName
(String vpceConfigurationName) Sets the value ofCfnVPCEConfigurationProps.getVpceConfigurationName()
vpceServiceName
(String vpceServiceName) Sets the value ofCfnVPCEConfigurationProps.getVpceServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceDnsName
Sets the value ofCfnVPCEConfigurationProps.getServiceDnsName()
- Parameters:
serviceDnsName
- The DNS name that Device Farm will use to map to the private service you want to access. This parameter is required.- Returns:
this
-
vpceConfigurationName
@Stability(Stable) public CfnVPCEConfigurationProps.Builder vpceConfigurationName(String vpceConfigurationName) Sets the value ofCfnVPCEConfigurationProps.getVpceConfigurationName()
- Parameters:
vpceConfigurationName
- The friendly name you give to your VPC endpoint configuration to manage your configurations more easily. This parameter is required.- Returns:
this
-
vpceServiceName
Sets the value ofCfnVPCEConfigurationProps.getVpceServiceName()
- Parameters:
vpceServiceName
- The name of the VPC endpoint service that you want to access from Device Farm. This parameter is required. The name follows the formatcom.amazonaws.vpce.us-west-2.vpce-svc-id
.- Returns:
this
-
tags
Sets the value ofCfnVPCEConfigurationProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag in the guide .- Returns:
this
-
vpceConfigurationDescription
@Stability(Stable) public CfnVPCEConfigurationProps.Builder vpceConfigurationDescription(String vpceConfigurationDescription) Sets the value ofCfnVPCEConfigurationProps.getVpceConfigurationDescription()
- Parameters:
vpceConfigurationDescription
- An optional description that provides details about your VPC endpoint configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVPCEConfigurationProps>
- Returns:
- a new instance of
CfnVPCEConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-