Class EndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.alpha.EndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EndpointProps>
- Enclosing interface:
EndpointProps
@Stability(Experimental)
public static final class EndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<EndpointProps>
A builder for
EndpointProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.endpointConfig(IEndpointConfig endpointConfig) Sets the value ofEndpointProps.getEndpointConfig()endpointName(String endpointName) Sets the value ofEndpointProps.getEndpointName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpointConfig
@Stability(Experimental) public EndpointProps.Builder endpointConfig(IEndpointConfig endpointConfig) Sets the value ofEndpointProps.getEndpointConfig()- Parameters:
endpointConfig- The endpoint configuration to use for this endpoint. This parameter is required.- Returns:
this
-
endpointName
Sets the value ofEndpointProps.getEndpointName()- Parameters:
endpointName- Name of the endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EndpointProps>- Returns:
- a new instance of
EndpointProps - Throws:
NullPointerException- if any required attribute was not provided
-