ApiCreateOrUpdateParameter Class
- java.
lang. Object - com.
microsoft. azure. management. apimanagement. v2019_01_01.ApiCreateOrUpdateParameter
- com.
public class ApiCreateOrUpdateParameter
API Create or Update Parameters.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| ApiCreateOrUpdateParameter() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
apiRevision()
Get describes the Revision of the Api. |
| java.lang.String |
apiRevisionDescription()
Get description of the Api Revision. |
|
Api |
apiType()
Get type of API. |
| java.lang.String |
apiVersion()
Get indicates the Version identifier of the API if the API is versioned. |
| java.lang.String |
apiVersionDescription()
Get description of the Api Version. |
|
Api |
apiVersionSet()
Get version set details. |
| java.lang.String |
apiVersionSetId()
Get a resource identifier for the related Api |
|
Authentication |
authenticationSettings()
Get collection of authentication settings included into this API. |
| java.lang.String |
description()
Get description of the API. |
| java.lang.String |
displayName()
Get aPI name. |
|
Content |
format()
Get format of the Content in which the API is getting imported. |
| java.lang.Boolean |
isCurrent()
Get indicates if API revision is current api revision. |
| java.lang.Boolean |
isOnline()
Get indicates if API revision is accessible via the gateway. |
| 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. |
|
Soap |
soapApiType()
Get type of Api to create. |
| java.lang.String |
sourceApiId()
Get aPI identifier of the source API. |
|
Subscription |
subscriptionKeyParameterNames()
Get protocols over which API is made available. |
| java.lang.Boolean |
subscriptionRequired()
Get specifies whether an API or Product subscription is required for accessing the API. |
| java.lang.String |
value()
Get content value when Importing an API. |
|
Api |
withApiRevision(String apiRevision)
Set describes the Revision of the Api. |
|
Api |
withApiRevisionDescription(String apiRevisionDescription)
Set description of the Api Revision. |
|
Api |
withApiType(ApiType apiType)
Set type of API. |
|
Api |
withApiVersion(String apiVersion)
Set indicates the Version identifier of the API if the API is versioned. |
|
Api |
withApiVersionDescription(String apiVersionDescription)
Set description of the Api Version. |
|
Api |
withApiVersionSet(ApiVersionSetContractDetails apiVersionSet)
Set version set details. |
|
Api |
withApiVersionSetId(String apiVersionSetId)
Set a resource identifier for the related Api |
|
Api |
withAuthenticationSettings(AuthenticationSettingsContract authenticationSettings)
Set collection of authentication settings included into this API. |
|
Api |
withDescription(String description)
Set description of the API. |
|
Api |
withDisplayName(String displayName)
Set aPI name. |
|
Api |
withFormat(ContentFormat format)
Set format of the Content in which the API is getting imported. |
|
Api |
withIsCurrent(Boolean isCurrent)
Set indicates if API revision is current api revision. |
|
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 |
withSoapApiType(SoapApiType soapApiType)
Set type of Api to create. |
|
Api |
withSourceApiId(String sourceApiId)
Set aPI identifier of the source API. |
|
Api |
withSubscriptionKeyParameterNames(SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames)
Set protocols over which API is made available. |
|
Api |
withSubscriptionRequired(Boolean subscriptionRequired)
Set specifies whether an API or Product subscription is required for accessing the API. |
|
Api |
withValue(String value)
Set content value when Importing an API. |
|
Api |
withWsdlSelector(ApiCreateOrUpdatePropertiesWsdlSelector wsdlSelector)
Set criteria to limit import of WSDL to a subset of the document. |
|
Api |
wsdlSelector()
Get criteria to limit import of WSDL to a subset of the document. |
Methods inherited from java.lang.Object
Constructor Details
ApiCreateOrUpdateParameter
public ApiCreateOrUpdateParameter()
Method Details
apiRevision
public String apiRevision()
Get describes the Revision of the Api. If no value is provided, default revision 1 is created.
Returns:
apiRevisionDescription
public String apiRevisionDescription()
Get description of the Api Revision.
Returns:
apiType
public ApiType apiType()
Get type of API. Possible values include: 'http', 'soap'.
Returns:
apiVersion
public String apiVersion()
Get indicates the Version identifier of the API if the API is versioned.
Returns:
apiVersionDescription
public String apiVersionDescription()
Get description of the Api Version.
Returns:
apiVersionSet
public ApiVersionSetContractDetails apiVersionSet()
Get version set details.
Returns:
apiVersionSetId
public String apiVersionSetId()
Get a resource identifier for the related ApiVersionSet.
Returns:
authenticationSettings
public AuthenticationSettingsContract authenticationSettings()
Get collection of authentication settings included into this API.
Returns:
description
public String description()
Get description of the API. May include HTML formatting tags.
Returns:
displayName
public String displayName()
Get aPI name. Must be 1 to 300 characters long.
Returns:
format
public ContentFormat format()
Get format of the Content in which the API is getting imported. Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link'.
Returns:
isCurrent
public Boolean isCurrent()
Get indicates if API revision is current api revision.
Returns:
isOnline
public Boolean isOnline()
Get indicates if API revision is accessible via the gateway.
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:
soapApiType
public SoapApiType soapApiType()
Get type of Api to create. `http` creates a SOAP to REST API `soap` creates a SOAP pass-through API. Possible values include: 'SoapToRest', 'SoapPassThrough'.
Returns:
sourceApiId
public String sourceApiId()
Get aPI identifier of the source API.
Returns:
subscriptionKeyParameterNames
public SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames()
Get protocols over which API is made available.
Returns:
subscriptionRequired
public Boolean subscriptionRequired()
Get specifies whether an API or Product subscription is required for accessing the API.
Returns:
value
public String value()
Get content value when Importing an API.
Returns:
withApiRevision
public ApiCreateOrUpdateParameter withApiRevision(String apiRevision)
Set describes the Revision of the Api. If no value is provided, default revision 1 is created.
Parameters:
Returns:
withApiRevisionDescription
public ApiCreateOrUpdateParameter withApiRevisionDescription(String apiRevisionDescription)
Set description of the Api Revision.
Parameters:
Returns:
withApiType
public ApiCreateOrUpdateParameter withApiType(ApiType apiType)
Set type of API. Possible values include: 'http', 'soap'.
Parameters:
Returns:
withApiVersion
public ApiCreateOrUpdateParameter withApiVersion(String apiVersion)
Set indicates the Version identifier of the API if the API is versioned.
Parameters:
Returns:
withApiVersionDescription
public ApiCreateOrUpdateParameter withApiVersionDescription(String apiVersionDescription)
Set description of the Api Version.
Parameters:
Returns:
withApiVersionSet
public ApiCreateOrUpdateParameter withApiVersionSet(ApiVersionSetContractDetails apiVersionSet)
Set version set details.
Parameters:
Returns:
withApiVersionSetId
public ApiCreateOrUpdateParameter withApiVersionSetId(String apiVersionSetId)
Set a resource identifier for the related ApiVersionSet.
Parameters:
Returns:
withAuthenticationSettings
public ApiCreateOrUpdateParameter withAuthenticationSettings(AuthenticationSettingsContract authenticationSettings)
Set collection of authentication settings included into this API.
Parameters:
Returns:
withDescription
public ApiCreateOrUpdateParameter withDescription(String description)
Set description of the API. May include HTML formatting tags.
Parameters:
Returns:
withDisplayName
public ApiCreateOrUpdateParameter withDisplayName(String displayName)
Set aPI name. Must be 1 to 300 characters long.
Parameters:
Returns:
withFormat
public ApiCreateOrUpdateParameter withFormat(ContentFormat format)
Set format of the Content in which the API is getting imported. Possible values include: 'wadl-xml', 'wadl-link-json', 'swagger-json', 'swagger-link-json', 'wsdl', 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link'.
Parameters:
Returns:
withIsCurrent
public ApiCreateOrUpdateParameter withIsCurrent(Boolean isCurrent)
Set indicates if API revision is current api revision.
Parameters:
Returns:
withPath
public ApiCreateOrUpdateParameter 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 ApiCreateOrUpdateParameter withProtocols(List<Protocol> protocols)
Set describes on which protocols the operations in this API can be invoked.
Parameters:
Returns:
withServiceUrl
public ApiCreateOrUpdateParameter withServiceUrl(String serviceUrl)
Set absolute URL of the backend service implementing this API. Cannot be more than 2000 characters long.
Parameters:
Returns:
withSoapApiType
public ApiCreateOrUpdateParameter withSoapApiType(SoapApiType soapApiType)
Set type of Api to create. `http` creates a SOAP to REST API `soap` creates a SOAP pass-through API. Possible values include: 'SoapToRest', 'SoapPassThrough'.
Parameters:
Returns:
withSourceApiId
public ApiCreateOrUpdateParameter withSourceApiId(String sourceApiId)
Set aPI identifier of the source API.
Parameters:
Returns:
withSubscriptionKeyParameterNames
public ApiCreateOrUpdateParameter withSubscriptionKeyParameterNames(SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames)
Set protocols over which API is made available.
Parameters:
Returns:
withSubscriptionRequired
public ApiCreateOrUpdateParameter withSubscriptionRequired(Boolean subscriptionRequired)
Set specifies whether an API or Product subscription is required for accessing the API.
Parameters:
Returns:
withValue
public ApiCreateOrUpdateParameter withValue(String value)
Set content value when Importing an API.
Parameters:
Returns:
withWsdlSelector
public ApiCreateOrUpdateParameter withWsdlSelector(ApiCreateOrUpdatePropertiesWsdlSelector wsdlSelector)
Set criteria to limit import of WSDL to a subset of the document.
Parameters:
Returns:
wsdlSelector
public ApiCreateOrUpdatePropertiesWsdlSelector wsdlSelector()
Get criteria to limit import of WSDL to a subset of the document.
Returns: