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 Details

    • StaticSiteResetPropertiesArmResourceProperties

      public StaticSiteResetPropertiesArmResourceProperties()
      Creates an instance of StaticSiteResetPropertiesArmResourceProperties class.
  • Method Details

    • repositoryToken

      public String repositoryToken()
      Get the repositoryToken property: The token which proves admin privileges to the repository.
      Returns:
      the repositoryToken value.
    • withRepositoryToken

      public StaticSiteResetPropertiesArmResourceProperties withRepositoryToken(String repositoryToken)
      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

      public Boolean 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.