Class OutboundEnvironmentEndpoint
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.OutboundEnvironmentEndpoint
-
public final class OutboundEnvironmentEndpoint extends Object
Endpoints accessed for a common purpose that the Api Management Service requires outbound network access to.
-
-
Constructor Summary
Constructors Constructor Description OutboundEnvironmentEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
category()
Get the category property: The type of service accessed by the Api Management Service, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.List<EndpointDependency>
endpoints()
Get the endpoints property: The endpoints that the Api Management Service reaches the service at.void
validate()
Validates the instance.OutboundEnvironmentEndpoint
withCategory(String category)
Set the category property: The type of service accessed by the Api Management Service, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.OutboundEnvironmentEndpoint
withEndpoints(List<EndpointDependency> endpoints)
Set the endpoints property: The endpoints that the Api Management Service reaches the service at.
-
-
-
Method Detail
-
category
public String category()
Get the category property: The type of service accessed by the Api Management Service, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.- Returns:
- the category value.
-
withCategory
public OutboundEnvironmentEndpoint withCategory(String category)
Set the category property: The type of service accessed by the Api Management Service, e.g., Azure Storage, Azure SQL Database, and Azure Active Directory.- Parameters:
category
- the category value to set.- Returns:
- the OutboundEnvironmentEndpoint object itself.
-
endpoints
public List<EndpointDependency> endpoints()
Get the endpoints property: The endpoints that the Api Management Service reaches the service at.- Returns:
- the endpoints value.
-
withEndpoints
public OutboundEnvironmentEndpoint withEndpoints(List<EndpointDependency> endpoints)
Set the endpoints property: The endpoints that the Api Management Service reaches the service at.- Parameters:
endpoints
- the endpoints value to set.- Returns:
- the OutboundEnvironmentEndpoint object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-