public class StaticSiteResetPropertiesArmResource extends ProxyOnlyResource
| Constructor and Description |
|---|
StaticSiteResetPropertiesArmResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
repositoryToken()
Get the repositoryToken property: The token which proves admin privileges to the repository.
|
Boolean |
shouldUpdateRepository()
Get the shouldUpdateRepository property: Determines whether the repository should be updated with the new
properties.
|
void |
validate()
Validates the instance.
|
StaticSiteResetPropertiesArmResource |
withKind(String kind)
Set the kind property: Kind of resource.
|
StaticSiteResetPropertiesArmResource |
withRepositoryToken(String repositoryToken)
Set the repositoryToken property: The token which proves admin privileges to the repository.
|
StaticSiteResetPropertiesArmResource |
withShouldUpdateRepository(Boolean shouldUpdateRepository)
Set the shouldUpdateRepository property: Determines whether the repository should be updated with the new
properties.
|
kindpublic StaticSiteResetPropertiesArmResource()
public String repositoryToken()
public StaticSiteResetPropertiesArmResource withRepositoryToken(String repositoryToken)
repositoryToken - the repositoryToken value to set.public Boolean shouldUpdateRepository()
public StaticSiteResetPropertiesArmResource withShouldUpdateRepository(Boolean shouldUpdateRepository)
shouldUpdateRepository - the shouldUpdateRepository value to set.public StaticSiteResetPropertiesArmResource withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.