Package com.oracle.bmc.datascience.model
Class InferenceHttpEndpoint.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.InferenceHttpEndpoint.Builder
-
- Enclosing class:
- InferenceHttpEndpoint
public static class InferenceHttpEndpoint.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InferenceHttpEndpointbuild()InferenceHttpEndpoint.Buildercopy(InferenceHttpEndpoint model)InferenceHttpEndpoint.BuilderendpointUriSuffix(String endpointUriSuffix)The suffix part of the endpoint that will be allowed for invocation.InferenceHttpEndpoint.BuilderhttpMethods(List<HttpMethod> httpMethods)List of HTTP methods acceptable by the URI.
-
-
-
Method Detail
-
endpointUriSuffix
public InferenceHttpEndpoint.Builder endpointUriSuffix(String endpointUriSuffix)
The suffix part of the endpoint that will be allowed for invocation.- Parameters:
endpointUriSuffix- the value to set- Returns:
- this builder
-
httpMethods
public InferenceHttpEndpoint.Builder httpMethods(List<HttpMethod> httpMethods)
List of HTTP methods acceptable by the URI.- Parameters:
httpMethods- the value to set- Returns:
- this builder
-
build
public InferenceHttpEndpoint build()
-
copy
public InferenceHttpEndpoint.Builder copy(InferenceHttpEndpoint model)
-
-