DataLakeStaticWebsite Class
- java.
lang. Object - com.
azure. storage. file. datalake. models. DataLakeStaticWebsite
- com.
public final class DataLakeStaticWebsite
The properties that enable an account to host a static website.
Constructor Summary
Constructor | Description | |
---|---|---|
DataLakeStaticWebsite() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getDefaultIndexDocumentPath()
Get the default |
String |
getErrorDocument404Path()
Get the error |
String |
getIndexDocument()
Get the index |
boolean |
isEnabled()
Get the enabled property: Indicates whether this account is hosting a static website. |
Data |
setDefaultIndexDocumentPath(String defaultIndexDocumentPath)
Set the default |
Data |
setEnabled(boolean enabled)
Set the enabled property: Indicates whether this account is hosting a static website. |
Data |
setErrorDocument404Path(String errorDocument404Path)
Set the error |
Data |
setIndexDocument(String indexDocument)
Set the index |
Methods inherited from java.lang.Object
Constructor Details
DataLakeStaticWebsite
public DataLakeStaticWebsite()
Method Details
getDefaultIndexDocumentPath
public String getDefaultIndexDocumentPath()
Get the defaultIndexDocumentPath property: Absolute path of the default index page.
Returns:
getErrorDocument404Path
public String getErrorDocument404Path()
Get the errorDocument404Path property: The absolute path of the custom 404 page.
Returns:
getIndexDocument
public String getIndexDocument()
Get the indexDocument property: The default name of the index page under each directory.
Returns:
isEnabled
public boolean isEnabled()
Get the enabled property: Indicates whether this account is hosting a static website.
Returns:
setDefaultIndexDocumentPath
public DataLakeStaticWebsite setDefaultIndexDocumentPath(String defaultIndexDocumentPath)
Set the defaultIndexDocumentPath property: Absolute path of the default index page.
Parameters:
Returns:
setEnabled
public DataLakeStaticWebsite setEnabled(boolean enabled)
Set the enabled property: Indicates whether this account is hosting a static website.
Parameters:
Returns:
setErrorDocument404Path
public DataLakeStaticWebsite setErrorDocument404Path(String errorDocument404Path)
Set the errorDocument404Path property: The absolute path of the custom 404 page.
Parameters:
Returns:
setIndexDocument
public DataLakeStaticWebsite setIndexDocument(String indexDocument)
Set the indexDocument property: The default name of the index page under each directory.
Parameters:
Returns: