Class ApiCreateOrUpdatePropertiesWsdlSelector
java.lang.Object
com.azure.resourcemanager.apimanagement.models.ApiCreateOrUpdatePropertiesWsdlSelector
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ApiCreateOrUpdatePropertiesWsdlSelector>
public final class ApiCreateOrUpdatePropertiesWsdlSelector
extends Object
implements com.azure.json.JsonSerializable<ApiCreateOrUpdatePropertiesWsdlSelector>
Criteria to limit import of WSDL to a subset of the document.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApiCreateOrUpdatePropertiesWsdlSelector class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApiCreateOrUpdatePropertiesWsdlSelector from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withWsdlEndpointName(String wsdlEndpointName) Set the wsdlEndpointName property: Name of endpoint(port) to import from WSDL.withWsdlServiceName(String wsdlServiceName) Set the wsdlServiceName property: Name of service to import from WSDL.Get the wsdlEndpointName property: Name of endpoint(port) to import from WSDL.Get the wsdlServiceName property: Name of service to import from WSDL.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApiCreateOrUpdatePropertiesWsdlSelector
public ApiCreateOrUpdatePropertiesWsdlSelector()Creates an instance of ApiCreateOrUpdatePropertiesWsdlSelector class.
-
-
Method Details
-
wsdlServiceName
Get the wsdlServiceName property: Name of service to import from WSDL.- Returns:
- the wsdlServiceName value.
-
withWsdlServiceName
Set the wsdlServiceName property: Name of service to import from WSDL.- Parameters:
wsdlServiceName- the wsdlServiceName value to set.- Returns:
- the ApiCreateOrUpdatePropertiesWsdlSelector object itself.
-
wsdlEndpointName
Get the wsdlEndpointName property: Name of endpoint(port) to import from WSDL.- Returns:
- the wsdlEndpointName value.
-
withWsdlEndpointName
Set the wsdlEndpointName property: Name of endpoint(port) to import from WSDL.- Parameters:
wsdlEndpointName- the wsdlEndpointName value to set.- Returns:
- the ApiCreateOrUpdatePropertiesWsdlSelector object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ApiCreateOrUpdatePropertiesWsdlSelector>- Throws:
IOException
-
fromJson
public static ApiCreateOrUpdatePropertiesWsdlSelector fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ApiCreateOrUpdatePropertiesWsdlSelector from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ApiCreateOrUpdatePropertiesWsdlSelector if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ApiCreateOrUpdatePropertiesWsdlSelector.
-