你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SnapshotRecoveryTarget Class
- java.
lang. Object - com.
microsoft. azure. management. appservice. SnapshotRecoveryTarget
- com.
public class SnapshotRecoveryTarget
Specifies the web app that snapshot contents will be written to.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id value. |
String |
location()
Get the location value. |
Snapshot |
withId(String id)
Set the id value. |
Snapshot |
withLocation(String location)
Set the location value. |
Method Details
id
public String id()
Get the id value.
Returns:
the id value
location
public String location()
Get the location value.
Returns:
the location value
withId
public SnapshotRecoveryTarget withId(String id)
Set the id value.
Parameters:
id
- the id value to set
Returns:
the SnapshotRecoveryTarget object itself.
withLocation
public SnapshotRecoveryTarget withLocation(String location)
Set the location value.
Parameters:
location
- the location value to set
Returns:
the SnapshotRecoveryTarget object itself.