Class StaticSiteResetPropertiesArmResourceProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.StaticSiteResetPropertiesArmResourceProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StaticSiteResetPropertiesArmResourceProperties>
public final class StaticSiteResetPropertiesArmResourceProperties
extends Object
implements com.azure.json.JsonSerializable<StaticSiteResetPropertiesArmResourceProperties>
StaticSiteResetPropertiesARMResource resource specific properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StaticSiteResetPropertiesArmResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of StaticSiteResetPropertiesArmResourceProperties from the JsonReader.Get the repositoryToken property: The token which proves admin privileges to the repository.Get the shouldUpdateRepository property: Determines whether the repository should be updated with the new properties.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withRepositoryToken
(String repositoryToken) Set the repositoryToken property: The token which proves admin privileges to the repository.withShouldUpdateRepository
(Boolean shouldUpdateRepository) Set the shouldUpdateRepository property: Determines whether the repository should be updated with the new properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StaticSiteResetPropertiesArmResourceProperties
public StaticSiteResetPropertiesArmResourceProperties()Creates an instance of StaticSiteResetPropertiesArmResourceProperties class.
-
-
Method Details
-
repositoryToken
Get the repositoryToken property: The token which proves admin privileges to the repository.- Returns:
- the repositoryToken value.
-
withRepositoryToken
Set the repositoryToken property: The token which proves admin privileges to the repository.- Parameters:
repositoryToken
- the repositoryToken value to set.- Returns:
- the StaticSiteResetPropertiesArmResourceProperties object itself.
-
shouldUpdateRepository
Get the shouldUpdateRepository property: Determines whether the repository should be updated with the new properties.- Returns:
- the shouldUpdateRepository value.
-
withShouldUpdateRepository
public StaticSiteResetPropertiesArmResourceProperties withShouldUpdateRepository(Boolean shouldUpdateRepository) Set the shouldUpdateRepository property: Determines whether the repository should be updated with the new properties.- Parameters:
shouldUpdateRepository
- the shouldUpdateRepository value to set.- Returns:
- the StaticSiteResetPropertiesArmResourceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<StaticSiteResetPropertiesArmResourceProperties>
- Throws:
IOException
-
fromJson
public static StaticSiteResetPropertiesArmResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StaticSiteResetPropertiesArmResourceProperties from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of StaticSiteResetPropertiesArmResourceProperties 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 StaticSiteResetPropertiesArmResourceProperties.
-