Class PreconfiguredEndpointInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.frontdoor.fluent.models.PreconfiguredEndpointInner
public final class PreconfiguredEndpointInner
extends com.azure.core.management.Resource
Defines the properties of a preconfigured endpoint.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PreconfiguredEndpointInner class. -
Method Summary
Modifier and TypeMethodDescriptionbackend()
Get the backend property: The preconfigured endpoint backend.Get the description property: The description of the endpoint.endpoint()
Get the endpoint property: The endpoint that is preconfigured.Get the endpointType property: The type of endpoint.void
validate()
Validates the instance.withBackend
(String backend) Set the backend property: The preconfigured endpoint backend.withDescription
(String description) Set the description property: The description of the endpoint.withEndpoint
(String endpoint) Set the endpoint property: The endpoint that is preconfigured.withEndpointType
(EndpointType endpointType) Set the endpointType property: The type of endpoint.withLocation
(String location) Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
PreconfiguredEndpointInner
public PreconfiguredEndpointInner()Creates an instance of PreconfiguredEndpointInner class.
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
description
Get the description property: The description of the endpoint.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the endpoint.- Parameters:
description
- the description value to set.- Returns:
- the PreconfiguredEndpointInner object itself.
-
endpoint
Get the endpoint property: The endpoint that is preconfigured.- Returns:
- the endpoint value.
-
withEndpoint
Set the endpoint property: The endpoint that is preconfigured.- Parameters:
endpoint
- the endpoint value to set.- Returns:
- the PreconfiguredEndpointInner object itself.
-
endpointType
Get the endpointType property: The type of endpoint.- Returns:
- the endpointType value.
-
withEndpointType
Set the endpointType property: The type of endpoint.- Parameters:
endpointType
- the endpointType value to set.- Returns:
- the PreconfiguredEndpointInner object itself.
-
backend
Get the backend property: The preconfigured endpoint backend.- Returns:
- the backend value.
-
withBackend
Set the backend property: The preconfigured endpoint backend.- Parameters:
backend
- the backend value to set.- Returns:
- the PreconfiguredEndpointInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-