public final class ApiResourceProperties extends Object
Constructor and Description |
---|
ApiResourceProperties() |
Modifier and Type | Method and Description |
---|---|
ApiResourceDefinitions |
apiDefinitions()
Get the apiDefinitions property: The api definitions.
|
String |
apiDefinitionUrl()
Get the apiDefinitionUrl property: The API definition.
|
ApiResourceBackendService |
backendService()
Get the backendService property: The backend service.
|
List<String> |
capabilities()
Get the capabilities property: The capabilities.
|
ApiTier |
category()
Get the category property: The category.
|
Map<String,Object> |
connectionParameters()
Get the connectionParameters property: The connection parameters.
|
ApiResourceGeneralInformation |
generalInformation()
Get the generalInformation property: The api general information.
|
ResourceReference |
integrationServiceEnvironment()
Get the integrationServiceEnvironment property: The integration service environment reference.
|
ApiResourceMetadata |
metadata()
Get the metadata property: The metadata.
|
String |
name()
Get the name property: The name.
|
ApiResourcePolicies |
policies()
Get the policies property: The policies for the API.
|
WorkflowProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state.
|
List<String> |
runtimeUrls()
Get the runtimeUrls property: The runtime urls.
|
void |
validate()
Validates the instance.
|
ApiResourceProperties |
withApiDefinitions(ApiResourceDefinitions apiDefinitions)
Set the apiDefinitions property: The api definitions.
|
ApiResourceProperties |
withApiDefinitionUrl(String apiDefinitionUrl)
Set the apiDefinitionUrl property: The API definition.
|
ApiResourceProperties |
withBackendService(ApiResourceBackendService backendService)
Set the backendService property: The backend service.
|
ApiResourceProperties |
withCapabilities(List<String> capabilities)
Set the capabilities property: The capabilities.
|
ApiResourceProperties |
withCategory(ApiTier category)
Set the category property: The category.
|
ApiResourceProperties |
withConnectionParameters(Map<String,Object> connectionParameters)
Set the connectionParameters property: The connection parameters.
|
ApiResourceProperties |
withGeneralInformation(ApiResourceGeneralInformation generalInformation)
Set the generalInformation property: The api general information.
|
ApiResourceProperties |
withIntegrationServiceEnvironment(ResourceReference integrationServiceEnvironment)
Set the integrationServiceEnvironment property: The integration service environment reference.
|
ApiResourceProperties |
withMetadata(ApiResourceMetadata metadata)
Set the metadata property: The metadata.
|
ApiResourceProperties |
withName(String name)
Set the name property: The name.
|
ApiResourceProperties |
withPolicies(ApiResourcePolicies policies)
Set the policies property: The policies for the API.
|
ApiResourceProperties |
withProvisioningState(WorkflowProvisioningState provisioningState)
Set the provisioningState property: The provisioning state.
|
ApiResourceProperties |
withRuntimeUrls(List<String> runtimeUrls)
Set the runtimeUrls property: The runtime urls.
|
public String name()
public ApiResourceProperties withName(String name)
name
- the name value to set.public Map<String,Object> connectionParameters()
public ApiResourceProperties withConnectionParameters(Map<String,Object> connectionParameters)
connectionParameters
- the connectionParameters value to set.public ApiResourceMetadata metadata()
public ApiResourceProperties withMetadata(ApiResourceMetadata metadata)
metadata
- the metadata value to set.public List<String> runtimeUrls()
public ApiResourceProperties withRuntimeUrls(List<String> runtimeUrls)
runtimeUrls
- the runtimeUrls value to set.public ApiResourceGeneralInformation generalInformation()
public ApiResourceProperties withGeneralInformation(ApiResourceGeneralInformation generalInformation)
generalInformation
- the generalInformation value to set.public List<String> capabilities()
public ApiResourceProperties withCapabilities(List<String> capabilities)
capabilities
- the capabilities value to set.public ApiResourceBackendService backendService()
public ApiResourceProperties withBackendService(ApiResourceBackendService backendService)
backendService
- the backendService value to set.public ApiResourcePolicies policies()
public ApiResourceProperties withPolicies(ApiResourcePolicies policies)
policies
- the policies value to set.public String apiDefinitionUrl()
public ApiResourceProperties withApiDefinitionUrl(String apiDefinitionUrl)
apiDefinitionUrl
- the apiDefinitionUrl value to set.public ApiResourceDefinitions apiDefinitions()
public ApiResourceProperties withApiDefinitions(ApiResourceDefinitions apiDefinitions)
apiDefinitions
- the apiDefinitions value to set.public ResourceReference integrationServiceEnvironment()
public ApiResourceProperties withIntegrationServiceEnvironment(ResourceReference integrationServiceEnvironment)
integrationServiceEnvironment
- the integrationServiceEnvironment value to set.public WorkflowProvisioningState provisioningState()
public ApiResourceProperties withProvisioningState(WorkflowProvisioningState provisioningState)
provisioningState
- the provisioningState value to set.public ApiTier category()
public ApiResourceProperties withCategory(ApiTier category)
category
- the category value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.