Class Backend
java.lang.Object
com.azure.resourcemanager.frontdoor.models.Backend
Backend address of a frontDoor load balancer.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Get the address property: Location of the backend (IP address or FQDN).Get the backendHostHeader property: The value to use as the host header sent to the backend.Get the enabledState property: Whether to enable use of this backend.httpPort()Get the httpPort property: The HTTP TCP port number.Get the httpsPort property: The HTTPS TCP port number.priority()Get the priority property: Priority to use for load balancing.Get the privateEndpointStatus property: The Approval status for the connection to the Private Link.Get the privateLinkAlias property: The Alias of the Private Link resource.Get the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link.Get the privateLinkLocation property: The location of the Private Link resource.Get the privateLinkResourceId property: The Resource Id of the Private Link resource.voidvalidate()Validates the instance.weight()Get the weight property: Weight of this endpoint for load balancing purposes.withAddress(String address) Set the address property: Location of the backend (IP address or FQDN).withBackendHostHeader(String backendHostHeader) Set the backendHostHeader property: The value to use as the host header sent to the backend.withEnabledState(BackendEnabledState enabledState) Set the enabledState property: Whether to enable use of this backend.withHttpPort(Integer httpPort) Set the httpPort property: The HTTP TCP port number.withHttpsPort(Integer httpsPort) Set the httpsPort property: The HTTPS TCP port number.withPriority(Integer priority) Set the priority property: Priority to use for load balancing.withPrivateLinkAlias(String privateLinkAlias) Set the privateLinkAlias property: The Alias of the Private Link resource.withPrivateLinkApprovalMessage(String privateLinkApprovalMessage) Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link.withPrivateLinkLocation(String privateLinkLocation) Set the privateLinkLocation property: The location of the Private Link resource.withPrivateLinkResourceId(String privateLinkResourceId) Set the privateLinkResourceId property: The Resource Id of the Private Link resource.withWeight(Integer weight) Set the weight property: Weight of this endpoint for load balancing purposes.
-
Constructor Details
-
Backend
public Backend()Creates an instance of Backend class.
-
-
Method Details
-
address
Get the address property: Location of the backend (IP address or FQDN).- Returns:
- the address value.
-
withAddress
Set the address property: Location of the backend (IP address or FQDN).- Parameters:
address- the address value to set.- Returns:
- the Backend object itself.
-
privateLinkAlias
Get the privateLinkAlias property: The Alias of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.- Returns:
- the privateLinkAlias value.
-
withPrivateLinkAlias
Set the privateLinkAlias property: The Alias of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.- Parameters:
privateLinkAlias- the privateLinkAlias value to set.- Returns:
- the Backend object itself.
-
privateLinkResourceId
Get the privateLinkResourceId property: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.- Returns:
- the privateLinkResourceId value.
-
withPrivateLinkResourceId
Set the privateLinkResourceId property: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.- Parameters:
privateLinkResourceId- the privateLinkResourceId value to set.- Returns:
- the Backend object itself.
-
privateLinkLocation
Get the privateLinkLocation property: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated.- Returns:
- the privateLinkLocation value.
-
withPrivateLinkLocation
Set the privateLinkLocation property: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated.- Parameters:
privateLinkLocation- the privateLinkLocation value to set.- Returns:
- the Backend object itself.
-
privateEndpointStatus
Get the privateEndpointStatus property: The Approval status for the connection to the Private Link.- Returns:
- the privateEndpointStatus value.
-
privateLinkApprovalMessage
Get the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link.- Returns:
- the privateLinkApprovalMessage value.
-
withPrivateLinkApprovalMessage
Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link.- Parameters:
privateLinkApprovalMessage- the privateLinkApprovalMessage value to set.- Returns:
- the Backend object itself.
-
httpPort
Get the httpPort property: The HTTP TCP port number. Must be between 1 and 65535.- Returns:
- the httpPort value.
-
withHttpPort
Set the httpPort property: The HTTP TCP port number. Must be between 1 and 65535.- Parameters:
httpPort- the httpPort value to set.- Returns:
- the Backend object itself.
-
httpsPort
Get the httpsPort property: The HTTPS TCP port number. Must be between 1 and 65535.- Returns:
- the httpsPort value.
-
withHttpsPort
Set the httpsPort property: The HTTPS TCP port number. Must be between 1 and 65535.- Parameters:
httpsPort- the httpsPort value to set.- Returns:
- the Backend object itself.
-
enabledState
Get the enabledState property: Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'.- Returns:
- the enabledState value.
-
withEnabledState
Set the enabledState property: Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'.- Parameters:
enabledState- the enabledState value to set.- Returns:
- the Backend object itself.
-
priority
Get the priority property: Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.- Returns:
- the priority value.
-
withPriority
Set the priority property: Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.- Parameters:
priority- the priority value to set.- Returns:
- the Backend object itself.
-
weight
Get the weight property: Weight of this endpoint for load balancing purposes.- Returns:
- the weight value.
-
withWeight
Set the weight property: Weight of this endpoint for load balancing purposes.- Parameters:
weight- the weight value to set.- Returns:
- the Backend object itself.
-
backendHostHeader
Get the backendHostHeader property: The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.- Returns:
- the backendHostHeader value.
-
withBackendHostHeader
Set the backendHostHeader property: The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.- Parameters:
backendHostHeader- the backendHostHeader value to set.- Returns:
- the Backend object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-