Class RuntimeLinkUpdateProperties
java.lang.Object
com.azure.resourcemanager.compute.workloadmanager.models.RuntimeLinkUpdateProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RuntimeLinkUpdateProperties>
public final class RuntimeLinkUpdateProperties
extends Object
implements com.azure.json.JsonSerializable<RuntimeLinkUpdateProperties>
The updatable properties of the RuntimeLink.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RuntimeLinkUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the capacityProfile property: The mutable capacity policy for the runtime composition.static RuntimeLinkUpdatePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RuntimeLinkUpdateProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withCapacityProfile(CapacityProfileUpdate capacityProfile) Set the capacityProfile property: The mutable capacity policy for the runtime composition.Methods inherited from class 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
-
RuntimeLinkUpdateProperties
public RuntimeLinkUpdateProperties()Creates an instance of RuntimeLinkUpdateProperties class.
-
-
Method Details
-
capacityProfile
Get the capacityProfile property: The mutable capacity policy for the runtime composition.- Returns:
- the capacityProfile value.
-
withCapacityProfile
Set the capacityProfile property: The mutable capacity policy for the runtime composition.- Parameters:
capacityProfile- the capacityProfile value to set.- Returns:
- the RuntimeLinkUpdateProperties object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RuntimeLinkUpdateProperties>- Throws:
IOException
-
fromJson
public static RuntimeLinkUpdateProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RuntimeLinkUpdateProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RuntimeLinkUpdateProperties 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 RuntimeLinkUpdateProperties.
-