Class ConfigurationServiceProperties
java.lang.Object
com.azure.resourcemanager.appplatform.models.ConfigurationServiceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConfigurationServiceProperties>
public final class ConfigurationServiceProperties
extends Object
implements com.azure.json.JsonSerializable<ConfigurationServiceProperties>
Application Configuration Service properties payload.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConfigurationServiceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConfigurationServiceProperties from the JsonReader.Get the generation property: The generation of the Application Configuration Service.Get the instances property: Collection of instances belong to Application Configuration Service.Get the provisioningState property: State of the Application Configuration Service.Get the resourceRequests property: The requested resource quantity for required CPU and Memory.settings()Get the settings property: The settings of Application Configuration Service.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withGeneration(ConfigurationServiceGeneration generation) Set the generation property: The generation of the Application Configuration Service.withSettings(ConfigurationServiceSettings settings) Set the settings property: The settings of Application Configuration Service.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
-
ConfigurationServiceProperties
public ConfigurationServiceProperties()Creates an instance of ConfigurationServiceProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: State of the Application Configuration Service.- Returns:
- the provisioningState value.
-
generation
Get the generation property: The generation of the Application Configuration Service.- Returns:
- the generation value.
-
withGeneration
Set the generation property: The generation of the Application Configuration Service.- Parameters:
generation- the generation value to set.- Returns:
- the ConfigurationServiceProperties object itself.
-
resourceRequests
Get the resourceRequests property: The requested resource quantity for required CPU and Memory.- Returns:
- the resourceRequests value.
-
instances
Get the instances property: Collection of instances belong to Application Configuration Service.- Returns:
- the instances value.
-
settings
Get the settings property: The settings of Application Configuration Service.- Returns:
- the settings value.
-
withSettings
Set the settings property: The settings of Application Configuration Service.- Parameters:
settings- the settings value to set.- Returns:
- the ConfigurationServiceProperties 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<ConfigurationServiceProperties>- Throws:
IOException
-
fromJson
public static ConfigurationServiceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConfigurationServiceProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConfigurationServiceProperties 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 ConfigurationServiceProperties.
-