StaticWebsiteProperties Class
- java.
lang. Object - com.
microsoft. azure. storage. StaticWebsiteProperties
- com.
public class StaticWebsiteProperties
Represents the service properties pertaining to StaticWebsites
Constructor Summary
Constructor | Description | |
---|---|---|
StaticWebsiteProperties() |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | getEnabled() |
String | getErrorDocument404Path() |
String | getIndexDocument() |
void | setEnabled(boolean enabled) |
void | setErrorDocument404Path(String errorDocument404Path) |
void | setIndexDocument(String indexDocument) |
Constructor Details
StaticWebsiteProperties
public StaticWebsiteProperties()
Method Details
getEnabled
public boolean getEnabled()
Returns:
Whether static websites are enabled on this account.
getErrorDocument404Path
public String getErrorDocument404Path()
Returns:
The path to the error document that should be shown when a 404 is issued.
getIndexDocument
public String getIndexDocument()
Returns:
The name of the index document in each directory.
setEnabled
public void setEnabled(boolean enabled)
Parameters:
enabled
- indicates whether static websites is enabled.
setErrorDocument404Path
public void setErrorDocument404Path(String errorDocument404Path)
Parameters:
errorDocument404Path
- The path to the error document that should be shown when a 404 is issued.
setIndexDocument
public void setIndexDocument(String indexDocument)
Parameters:
indexDocument
- The name of the index document in each directory.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java