Class PrivateEndpointDestination
java.lang.Object
com.azure.resourcemanager.machinelearning.models.PrivateEndpointDestination
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PrivateEndpointDestination>
public final class PrivateEndpointDestination
extends Object
implements com.azure.json.JsonSerializable<PrivateEndpointDestination>
Private Endpoint destination for a Private Endpoint Outbound Rule for the managed network of a machine learning
workspace.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PrivateEndpointDestination class. -
Method Summary
Modifier and TypeMethodDescriptionstatic PrivateEndpointDestinationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PrivateEndpointDestination from the JsonReader.Get the serviceResourceId property: The serviceResourceId property.Get the sparkEnabled property: The sparkEnabled property.Get the sparkStatus property: Type of a managed network Outbound Rule of a machine learning workspace.Get the subresourceTarget property: The subresourceTarget property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withServiceResourceId(String serviceResourceId) Set the serviceResourceId property: The serviceResourceId property.withSparkEnabled(Boolean sparkEnabled) Set the sparkEnabled property: The sparkEnabled property.withSparkStatus(RuleStatus sparkStatus) Set the sparkStatus property: Type of a managed network Outbound Rule of a machine learning workspace.withSubresourceTarget(String subresourceTarget) Set the subresourceTarget property: The subresourceTarget property.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
-
PrivateEndpointDestination
public PrivateEndpointDestination()Creates an instance of PrivateEndpointDestination class.
-
-
Method Details
-
serviceResourceId
Get the serviceResourceId property: The serviceResourceId property.- Returns:
- the serviceResourceId value.
-
withServiceResourceId
Set the serviceResourceId property: The serviceResourceId property.- Parameters:
serviceResourceId- the serviceResourceId value to set.- Returns:
- the PrivateEndpointDestination object itself.
-
sparkEnabled
Get the sparkEnabled property: The sparkEnabled property.- Returns:
- the sparkEnabled value.
-
withSparkEnabled
Set the sparkEnabled property: The sparkEnabled property.- Parameters:
sparkEnabled- the sparkEnabled value to set.- Returns:
- the PrivateEndpointDestination object itself.
-
sparkStatus
Get the sparkStatus property: Type of a managed network Outbound Rule of a machine learning workspace.- Returns:
- the sparkStatus value.
-
withSparkStatus
Set the sparkStatus property: Type of a managed network Outbound Rule of a machine learning workspace.- Parameters:
sparkStatus- the sparkStatus value to set.- Returns:
- the PrivateEndpointDestination object itself.
-
subresourceTarget
Get the subresourceTarget property: The subresourceTarget property.- Returns:
- the subresourceTarget value.
-
withSubresourceTarget
Set the subresourceTarget property: The subresourceTarget property.- Parameters:
subresourceTarget- the subresourceTarget value to set.- Returns:
- the PrivateEndpointDestination 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<PrivateEndpointDestination>- Throws:
IOException
-
fromJson
public static PrivateEndpointDestination fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of PrivateEndpointDestination from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of PrivateEndpointDestination 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 PrivateEndpointDestination.
-