Class Endpoint
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.Endpoint
-
public final class Endpoint extends Object
The endpoint details.
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
endpointUrl()
Get the endpointUrl property: The URL of the endpoint.VideoAnalyzerEndpointType
type()
Get the type property: The type of the endpoint.void
validate()
Validates the instance.Endpoint
withEndpointUrl(String endpointUrl)
Set the endpointUrl property: The URL of the endpoint.Endpoint
withType(VideoAnalyzerEndpointType type)
Set the type property: The type of the endpoint.
-
-
-
Method Detail
-
endpointUrl
public String endpointUrl()
Get the endpointUrl property: The URL of the endpoint.- Returns:
- the endpointUrl value.
-
withEndpointUrl
public Endpoint withEndpointUrl(String endpointUrl)
Set the endpointUrl property: The URL of the endpoint.- Parameters:
endpointUrl
- the endpointUrl value to set.- Returns:
- the Endpoint object itself.
-
type
public VideoAnalyzerEndpointType type()
Get the type property: The type of the endpoint.- Returns:
- the type value.
-
withType
public Endpoint withType(VideoAnalyzerEndpointType type)
Set the type property: The type of the endpoint.- Parameters:
type
- the type value to set.- Returns:
- the Endpoint object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-