ApiContractProperties Class
- java.
lang. Object - com.
microsoft. azure. management. apimanagement. v2019_01_01.ApiEntityBaseContract - com.
microsoft. azure. management. apimanagement. v2019_01_01.ApiContractProperties
- com.
- com.
public class ApiContractProperties
extends ApiEntityBaseContract
Api Entity Properties.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ApiContractProperties() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Api |
apiVersionSet()
Get version set details. |
| java.lang.String |
displayName()
Get aPI name. |
| java.lang.String |
path()
Get relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. |
| java.util.List<Protocol> |
protocols()
Get describes on which protocols the operations in this API can be invoked. |
| java.lang.String |
serviceUrl()
Get absolute URL of the backend service implementing this API. |
| java.lang.String |
sourceApiId()
Get aPI identifier of the source API. |
|
Api |
withApiVersionSet(ApiVersionSetContractDetails apiVersionSet)
Set version set details. |
|
Api |
withDisplayName(String displayName)
Set aPI name. |
|
Api |
withPath(String path)
Set relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. |
|
Api |
withProtocols(List<Protocol> protocols)
Set describes on which protocols the operations in this API can be invoked. |
|
Api |
withServiceUrl(String serviceUrl)
Set absolute URL of the backend service implementing this API. |
|
Api |
withSourceApiId(String sourceApiId)
Set aPI identifier of the source API. |
Methods inherited from ApiEntityBaseContract
Methods inherited from java.lang.Object
Constructor Details
ApiContractProperties
public ApiContractProperties()
Method Details
apiVersionSet
public ApiVersionSetContractDetails apiVersionSet()
Get version set details.
Returns:
displayName
public String displayName()
Get aPI name. Must be 1 to 300 characters long.
Returns:
path
public String path()
Get relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
Returns:
protocols
public List<Protocol> protocols()
Get describes on which protocols the operations in this API can be invoked.
Returns:
serviceUrl
public String serviceUrl()
Get absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
Returns:
sourceApiId
public String sourceApiId()
Get aPI identifier of the source API.
Returns:
withApiVersionSet
public ApiContractProperties withApiVersionSet(ApiVersionSetContractDetails apiVersionSet)
Set version set details.
Parameters:
Returns:
withDisplayName
public ApiContractProperties withDisplayName(String displayName)
Set aPI name. Must be 1 to 300 characters long.
Parameters:
Returns:
withPath
public ApiContractProperties withPath(String path)
Set relative URL uniquely identifying this API and all of its resource paths within the API Management service instance. It is appended to the API endpoint base URL specified during the service instance creation to form a public URL for this API.
Parameters:
Returns:
withProtocols
public ApiContractProperties withProtocols(List<Protocol> protocols)
Set describes on which protocols the operations in this API can be invoked.
Parameters:
Returns:
withServiceUrl
public ApiContractProperties withServiceUrl(String serviceUrl)
Set absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
Parameters:
Returns:
withSourceApiId
public ApiContractProperties withSourceApiId(String sourceApiId)
Set aPI identifier of the source API.
Parameters:
Returns: