Class StaticSiteResetPropertiesArmResourceProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.StaticSiteResetPropertiesArmResourceProperties
-
public final class StaticSiteResetPropertiesArmResourceProperties extends Object
StaticSiteResetPropertiesARMResource resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description StaticSiteResetPropertiesArmResourceProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringrepositoryToken()Get the repositoryToken property: The token which proves admin privileges to the repository.BooleanshouldUpdateRepository()Get the shouldUpdateRepository property: Determines whether the repository should be updated with the new properties.voidvalidate()Validates the instance.StaticSiteResetPropertiesArmResourcePropertieswithRepositoryToken(String repositoryToken)Set the repositoryToken property: The token which proves admin privileges to the repository.StaticSiteResetPropertiesArmResourcePropertieswithShouldUpdateRepository(Boolean shouldUpdateRepository)Set the shouldUpdateRepository property: Determines whether the repository should be updated with the new properties.
-
-
-
Method Detail
-
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.
-
-