public final class StaticWebsite extends Object
| Constructor and Description |
|---|
StaticWebsite() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultIndexDocumentPath()
Get the defaultIndexDocumentPath property: Absolute path of the default
index page.
|
String |
getErrorDocument404Path()
Get the errorDocument404Path property: The absolute path of the custom
404 page.
|
String |
getIndexDocument()
Get the indexDocument property: The default name of the index page under
each directory.
|
boolean |
isEnabled()
Get the enabled property: Indicates whether this account is hosting a
static website.
|
StaticWebsite |
setDefaultIndexDocumentPath(String defaultIndexDocumentPath)
Set the defaultIndexDocumentPath property: Absolute path of the default
index page.
|
StaticWebsite |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether this account is hosting a
static website.
|
StaticWebsite |
setErrorDocument404Path(String errorDocument404Path)
Set the errorDocument404Path property: The absolute path of the custom
404 page.
|
StaticWebsite |
setIndexDocument(String indexDocument)
Set the indexDocument property: The default name of the index page under
each directory.
|
public boolean isEnabled()
public StaticWebsite setEnabled(boolean enabled)
enabled - the enabled value to set.public String getIndexDocument()
public StaticWebsite setIndexDocument(String indexDocument)
indexDocument - the indexDocument value to set.public String getErrorDocument404Path()
public StaticWebsite setErrorDocument404Path(String errorDocument404Path)
errorDocument404Path - the errorDocument404Path value to set.public String getDefaultIndexDocumentPath()
public StaticWebsite setDefaultIndexDocumentPath(String defaultIndexDocumentPath)
defaultIndexDocumentPath - the defaultIndexDocumentPath value to
set.Copyright © 2020 Microsoft Corporation. All rights reserved.