Class CfnVPCEndpointService.PrivateDnsNameConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVPCEndpointService.PrivateDnsNameConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVPCEndpointService.PrivateDnsNameConfigurationProperty>
- Enclosing interface:
CfnVPCEndpointService.PrivateDnsNameConfigurationProperty
@Stability(Stable)
public static final class CfnVPCEndpointService.PrivateDnsNameConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVPCEndpointService.PrivateDnsNameConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getName()Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getState()Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getType()Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnVPCEndpointService.PrivateDnsNameConfigurationProperty.Builder name(String name) Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getName()- Parameters:
name- the value to be set.- Returns:
this
-
state
@Stability(Stable) public CfnVPCEndpointService.PrivateDnsNameConfigurationProperty.Builder state(String state) Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getState()- Parameters:
state- the value to be set.- Returns:
this
-
type
@Stability(Stable) public CfnVPCEndpointService.PrivateDnsNameConfigurationProperty.Builder type(String type) Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getType()- Parameters:
type- the value to be set.- Returns:
this
-
value
@Stability(Stable) public CfnVPCEndpointService.PrivateDnsNameConfigurationProperty.Builder value(String value) Sets the value ofCfnVPCEndpointService.PrivateDnsNameConfigurationProperty.getValue()- Parameters:
value- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVPCEndpointService.PrivateDnsNameConfigurationProperty>- Returns:
- a new instance of
CfnVPCEndpointService.PrivateDnsNameConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-