Class BackendUpdateParameterProperties
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.BackendBaseParameters
-
- com.azure.resourcemanager.apimanagement.fluent.models.BackendUpdateParameterProperties
-
public final class BackendUpdateParameterProperties extends BackendBaseParameters
Parameters supplied to the Update Backend operation.
-
-
Constructor Summary
Constructors Constructor Description BackendUpdateParameterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendProtocol
protocol()
Get the protocol property: Backend communication protocol.String
url()
Get the url property: Runtime Url of the Backend.void
validate()
Validates the instance.BackendUpdateParameterProperties
withCredentials(BackendCredentialsContract credentials)
Set the credentials property: Backend Credentials Contract Properties.BackendUpdateParameterProperties
withDescription(String description)
Set the description property: Backend Description.BackendUpdateParameterProperties
withProperties(BackendProperties properties)
Set the properties property: Backend Properties contract.BackendUpdateParameterProperties
withProtocol(BackendProtocol protocol)
Set the protocol property: Backend communication protocol.BackendUpdateParameterProperties
withProxy(BackendProxyContract proxy)
Set the proxy property: Backend Proxy Contract Properties.BackendUpdateParameterProperties
withResourceId(String resourceId)
Set the resourceId property: Management Uri of the Resource in External System.BackendUpdateParameterProperties
withTitle(String title)
Set the title property: Backend Title.BackendUpdateParameterProperties
withTls(BackendTlsProperties tls)
Set the tls property: Backend TLS Properties.BackendUpdateParameterProperties
withUrl(String url)
Set the url property: Runtime Url of the Backend.-
Methods inherited from class com.azure.resourcemanager.apimanagement.models.BackendBaseParameters
credentials, description, properties, proxy, resourceId, title, tls
-
-
-
-
Method Detail
-
url
public String url()
Get the url property: Runtime Url of the Backend.- Returns:
- the url value.
-
withUrl
public BackendUpdateParameterProperties withUrl(String url)
Set the url property: Runtime Url of the Backend.- Parameters:
url
- the url value to set.- Returns:
- the BackendUpdateParameterProperties object itself.
-
protocol
public BackendProtocol protocol()
Get the protocol property: Backend communication protocol.- Returns:
- the protocol value.
-
withProtocol
public BackendUpdateParameterProperties withProtocol(BackendProtocol protocol)
Set the protocol property: Backend communication protocol.- Parameters:
protocol
- the protocol value to set.- Returns:
- the BackendUpdateParameterProperties object itself.
-
withTitle
public BackendUpdateParameterProperties withTitle(String title)
Set the title property: Backend Title.- Overrides:
withTitle
in classBackendBaseParameters
- Parameters:
title
- the title value to set.- Returns:
- the BackendBaseParameters object itself.
-
withDescription
public BackendUpdateParameterProperties withDescription(String description)
Set the description property: Backend Description.- Overrides:
withDescription
in classBackendBaseParameters
- Parameters:
description
- the description value to set.- Returns:
- the BackendBaseParameters object itself.
-
withResourceId
public BackendUpdateParameterProperties withResourceId(String resourceId)
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.- Overrides:
withResourceId
in classBackendBaseParameters
- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the BackendBaseParameters object itself.
-
withProperties
public BackendUpdateParameterProperties withProperties(BackendProperties properties)
Set the properties property: Backend Properties contract.- Overrides:
withProperties
in classBackendBaseParameters
- Parameters:
properties
- the properties value to set.- Returns:
- the BackendBaseParameters object itself.
-
withCredentials
public BackendUpdateParameterProperties withCredentials(BackendCredentialsContract credentials)
Set the credentials property: Backend Credentials Contract Properties.- Overrides:
withCredentials
in classBackendBaseParameters
- Parameters:
credentials
- the credentials value to set.- Returns:
- the BackendBaseParameters object itself.
-
withProxy
public BackendUpdateParameterProperties withProxy(BackendProxyContract proxy)
Set the proxy property: Backend Proxy Contract Properties.- Overrides:
withProxy
in classBackendBaseParameters
- Parameters:
proxy
- the proxy value to set.- Returns:
- the BackendBaseParameters object itself.
-
withTls
public BackendUpdateParameterProperties withTls(BackendTlsProperties tls)
Set the tls property: Backend TLS Properties.- Overrides:
withTls
in classBackendBaseParameters
- Parameters:
tls
- the tls value to set.- Returns:
- the BackendBaseParameters object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classBackendBaseParameters
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-