Class CfnImageBuilder.AccessEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appstream.CfnImageBuilder.AccessEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImageBuilder.AccessEndpointProperty>
- Enclosing interface:
CfnImageBuilder.AccessEndpointProperty
@Stability(Stable)
public static final class CfnImageBuilder.AccessEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImageBuilder.AccessEndpointProperty>
A builder for
CfnImageBuilder.AccessEndpointProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.endpointType
(String endpointType) Sets the value ofCfnImageBuilder.AccessEndpointProperty.getEndpointType()
Sets the value ofCfnImageBuilder.AccessEndpointProperty.getVpceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointType
@Stability(Stable) public CfnImageBuilder.AccessEndpointProperty.Builder endpointType(String endpointType) Sets the value ofCfnImageBuilder.AccessEndpointProperty.getEndpointType()
- Parameters:
endpointType
- The type of interface endpoint. This parameter is required.- Returns:
this
-
vpceId
Sets the value ofCfnImageBuilder.AccessEndpointProperty.getVpceId()
- Parameters:
vpceId
- The identifier (ID) of the VPC in which the interface endpoint is used. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnImageBuilder.AccessEndpointProperty>
- Returns:
- a new instance of
CfnImageBuilder.AccessEndpointProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-