Class Endpoint
java.lang.Object
com.azure.resourcemanager.frontdoor.models.Endpoint
Defines the endpoint properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionendpoint()
Get the endpoint property: The endpoint URL.name()
Get the name property: The name of the endpoint.void
validate()
Validates the instance.withEndpoint
(String endpoint) Set the endpoint property: The endpoint URL.Set the name property: The name of the endpoint.
-
Constructor Details
-
Endpoint
public Endpoint()Creates an instance of Endpoint class.
-
-
Method Details
-
name
Get the name property: The name of the endpoint.- Returns:
- the name value.
-
withName
Set the name property: The name of the endpoint.- Parameters:
name
- the name value to set.- Returns:
- the Endpoint object itself.
-
endpoint
Get the endpoint property: The endpoint URL.- Returns:
- the endpoint value.
-
withEndpoint
Set the endpoint property: The endpoint URL.- Parameters:
endpoint
- the endpoint value to set.- Returns:
- the Endpoint object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-