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