Class BackendBaseParameters
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.BackendBaseParameters
-
- Direct Known Subclasses:
BackendContractProperties
,BackendUpdateParameterProperties
public class BackendBaseParameters extends Object
Backend entity base Parameter set.
-
-
Constructor Summary
Constructors Constructor Description BackendBaseParameters()
-
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.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.void
validate()
Validates the instance.BackendBaseParameters
withCredentials(BackendCredentialsContract credentials)
Set the credentials property: Backend Credentials Contract Properties.BackendBaseParameters
withDescription(String description)
Set the description property: Backend Description.BackendBaseParameters
withProperties(BackendProperties properties)
Set the properties property: Backend Properties contract.BackendBaseParameters
withProxy(BackendProxyContract proxy)
Set the proxy property: Backend Proxy Contract Properties.BackendBaseParameters
withResourceId(String resourceId)
Set the resourceId property: Management Uri of the Resource in External System.BackendBaseParameters
withTitle(String title)
Set the title property: Backend Title.BackendBaseParameters
withTls(BackendTlsProperties tls)
Set the tls property: Backend TLS Properties.
-
-
-
Method Detail
-
title
public String title()
Get the title property: Backend Title.- Returns:
- the title value.
-
withTitle
public BackendBaseParameters withTitle(String title)
Set the title property: Backend Title.- Parameters:
title
- the title value to set.- Returns:
- the BackendBaseParameters object itself.
-
description
public String description()
Get the description property: Backend Description.- Returns:
- the description value.
-
withDescription
public BackendBaseParameters withDescription(String description)
Set the description property: Backend Description.- Parameters:
description
- the description value to set.- Returns:
- the BackendBaseParameters 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 BackendBaseParameters 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 BackendBaseParameters object itself.
-
properties
public BackendProperties properties()
Get the properties property: Backend Properties contract.- Returns:
- the properties value.
-
withProperties
public BackendBaseParameters withProperties(BackendProperties properties)
Set the properties property: Backend Properties contract.- Parameters:
properties
- the properties value to set.- Returns:
- the BackendBaseParameters object itself.
-
credentials
public BackendCredentialsContract credentials()
Get the credentials property: Backend Credentials Contract Properties.- Returns:
- the credentials value.
-
withCredentials
public BackendBaseParameters withCredentials(BackendCredentialsContract credentials)
Set the credentials property: Backend Credentials Contract Properties.- Parameters:
credentials
- the credentials value to set.- Returns:
- the BackendBaseParameters object itself.
-
proxy
public BackendProxyContract proxy()
Get the proxy property: Backend Proxy Contract Properties.- Returns:
- the proxy value.
-
withProxy
public BackendBaseParameters withProxy(BackendProxyContract proxy)
Set the proxy property: Backend Proxy Contract Properties.- Parameters:
proxy
- the proxy value to set.- Returns:
- the BackendBaseParameters object itself.
-
tls
public BackendTlsProperties tls()
Get the tls property: Backend TLS Properties.- Returns:
- the tls value.
-
withTls
public BackendBaseParameters withTls(BackendTlsProperties tls)
Set the tls property: Backend TLS Properties.- Parameters:
tls
- the tls value to set.- Returns:
- the BackendBaseParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-