Class BackendUpdateParameters
java.lang.Object
com.azure.resourcemanager.apimanagement.models.BackendUpdateParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<BackendUpdateParameters>
public final class BackendUpdateParameters
extends Object
implements com.azure.json.JsonSerializable<BackendUpdateParameters>
Backend update parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BackendUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the circuitBreaker property: Backend Circuit Breaker Configuration.Get the credentials property: Backend Credentials Contract Properties.Get the description property: Backend Description.static BackendUpdateParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BackendUpdateParameters from the JsonReader.pool()Get the pool property: The pool property.Get the properties property: Backend Properties contract.protocol()Get the protocol property: Backend communication protocol.proxy()Get the proxy property: Backend gateway Contract Properties.Get the resourceId property: Management Uri of the Resource in External System.title()Get the title property: Backend Title.tls()Get the tls property: Backend TLS Properties.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the backend.url()Get the url property: Runtime Url of the Backend.voidvalidate()Validates the instance.withCircuitBreaker(BackendCircuitBreaker circuitBreaker) Set the circuitBreaker property: Backend Circuit Breaker Configuration.withCredentials(BackendCredentialsContract credentials) Set the credentials property: Backend Credentials Contract Properties.withDescription(String description) Set the description property: Backend Description.Set the pool property: The pool property.withProperties(BackendProperties properties) Set the properties property: Backend Properties contract.withProtocol(BackendProtocol protocol) Set the protocol property: Backend communication protocol.withProxy(BackendProxyContract proxy) Set the proxy property: Backend gateway Contract Properties.withResourceId(String resourceId) Set the resourceId property: Management Uri of the Resource in External System.Set the title property: Backend Title.Set the tls property: Backend TLS Properties.withType(BackendType type) Set the type property: Type of the backend.Set the url property: Runtime Url of the Backend.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BackendUpdateParameters
public BackendUpdateParameters()Creates an instance of BackendUpdateParameters class.
-
-
Method Details
-
url
Get the url property: Runtime Url of the Backend.- Returns:
- the url value.
-
withUrl
Set the url property: Runtime Url of the Backend.- Parameters:
url- the url value to set.- Returns:
- the BackendUpdateParameters object itself.
-
protocol
Get the protocol property: Backend communication protocol.- Returns:
- the protocol value.
-
withProtocol
Set the protocol property: Backend communication protocol.- Parameters:
protocol- the protocol value to set.- Returns:
- the BackendUpdateParameters object itself.
-
title
Get the title property: Backend Title.- Returns:
- the title value.
-
withTitle
Set the title property: Backend Title.- Parameters:
title- the title value to set.- Returns:
- the BackendUpdateParameters object itself.
-
description
Get the description property: Backend Description.- Returns:
- the description value.
-
withDescription
Set the description property: Backend Description.- Parameters:
description- the description value to set.- Returns:
- the BackendUpdateParameters object itself.
-
resourceId
Get the resourceId property: Management Uri of the Resource in External System. This URL can be the Arm Resource Id of Logic Apps, Function Apps or API Apps.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: Management Uri of the Resource in External System. This URL can be the Arm Resource Id of Logic Apps, Function Apps or API Apps.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the BackendUpdateParameters object itself.
-
properties
Get the properties property: Backend Properties contract.- Returns:
- the properties value.
-
withProperties
Set the properties property: Backend Properties contract.- Parameters:
properties- the properties value to set.- Returns:
- the BackendUpdateParameters object itself.
-
credentials
Get the credentials property: Backend Credentials Contract Properties.- Returns:
- the credentials value.
-
withCredentials
Set the credentials property: Backend Credentials Contract Properties.- Parameters:
credentials- the credentials value to set.- Returns:
- the BackendUpdateParameters object itself.
-
proxy
Get the proxy property: Backend gateway Contract Properties.- Returns:
- the proxy value.
-
withProxy
Set the proxy property: Backend gateway Contract Properties.- Parameters:
proxy- the proxy value to set.- Returns:
- the BackendUpdateParameters object itself.
-
tls
Get the tls property: Backend TLS Properties.- Returns:
- the tls value.
-
withTls
Set the tls property: Backend TLS Properties.- Parameters:
tls- the tls value to set.- Returns:
- the BackendUpdateParameters object itself.
-
circuitBreaker
Get the circuitBreaker property: Backend Circuit Breaker Configuration.- Returns:
- the circuitBreaker value.
-
withCircuitBreaker
Set the circuitBreaker property: Backend Circuit Breaker Configuration.- Parameters:
circuitBreaker- the circuitBreaker value to set.- Returns:
- the BackendUpdateParameters object itself.
-
pool
Get the pool property: The pool property.- Returns:
- the pool value.
-
withPool
Set the pool property: The pool property.- Parameters:
pool- the pool value to set.- Returns:
- the BackendUpdateParameters object itself.
-
type
Get the type property: Type of the backend. A backend can be either Single or Pool.- Returns:
- the type value.
-
withType
Set the type property: Type of the backend. A backend can be either Single or Pool.- Parameters:
type- the type value to set.- Returns:
- the BackendUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<BackendUpdateParameters>- Throws:
IOException
-
fromJson
public static BackendUpdateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of BackendUpdateParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of BackendUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the BackendUpdateParameters.
-