public class BackupDownloadRestriction extends AbstractModel
Constructor and Description |
---|
BackupDownloadRestriction() |
BackupDownloadRestriction(BackupDownloadRestriction source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getIpRestrictionEffect()
Get Whether IP is allowed.
|
String[] |
getIpSet()
Get Whether it is allowed to download IP list of the backup files.
|
String |
getRestrictionType()
Get Type of the network restrictions for downloading backup files.
|
String[] |
getVpcIdSet()
Get Whether it is allowed to download the VPC ID list of the backup files.
|
String |
getVpcRestrictionEffect()
Get Whether VPC is allowed.
|
void |
setIpRestrictionEffect(String IpRestrictionEffect)
Set Whether IP is allowed.
|
void |
setIpSet(String[] IpSet)
Set Whether it is allowed to download IP list of the backup files.
|
void |
setRestrictionType(String RestrictionType)
Set Type of the network restrictions for downloading backup files.
|
void |
setVpcIdSet(String[] VpcIdSet)
Set Whether it is allowed to download the VPC ID list of the backup files.
|
void |
setVpcRestrictionEffect(String VpcRestrictionEffect)
Set Whether VPC is allowed.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BackupDownloadRestriction()
public BackupDownloadRestriction(BackupDownloadRestriction source)
public String getRestrictionType()
public void setRestrictionType(String RestrictionType)
RestrictionType
- Type of the network restrictions for downloading backup files. Valid values: `NONE` (backups can be downloaded over both private and public networks), `INTRANET` (backups can only be downloaded over the private network), `CUSTOMIZE` (backups can be downloaded over specified VPCs or at specified IPs).public String getVpcRestrictionEffect()
public void setVpcRestrictionEffect(String VpcRestrictionEffect)
VpcRestrictionEffect
- Whether VPC is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).public String[] getVpcIdSet()
public void setVpcIdSet(String[] VpcIdSet)
VpcIdSet
- Whether it is allowed to download the VPC ID list of the backup files.public String getIpRestrictionEffect()
public void setIpRestrictionEffect(String IpRestrictionEffect)
IpRestrictionEffect
- Whether IP is allowed. Valid values: `ALLOW` (allow), `DENY` (deny).public String[] getIpSet()
public void setIpSet(String[] IpSet)
IpSet
- Whether it is allowed to download IP list of the backup files.Copyright © 2023. All rights reserved.