com.baidubce.services.dcc.model
Class CreateDccRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.dcc.model.CreateDccRequest

public class CreateDccRequest
extends AbstractBceRequest

The request class used for creating dcc.


Field Summary
static String AUTO_RENEW_TIME_UNIT_MONTH
          Dcc supports the following two types of auto renew time unit.
static String AUTO_RENEW_TIME_UNIT_YEAR
           
static String CLOUD_DISK_TYPE_CLOUD_HP1
           
static String CLOUD_DISK_TYPE_HP1
          Dcc supports the following two types of cloud disk.
 
Constructor Summary
CreateDccRequest()
           
 
Method Summary
 void checkAutoRenewTime()
          check whether auto renew time unit is correct.
 void checkCloudDiskType()
          check whether cloud disk storage type is correct.
 int getAutoRenewTime()
           
 String getAutoRenewTimeUnit()
           
 Billing getBilling()
           
 String getClientToken()
           
 int getCloudDiskSize()
           
 String getCloudDiskStorageType()
           
 int getCpuCount()
           
 String getFlavor()
           
 int getPurchaseCount()
           
 String getType()
           
 String getZoneName()
           
 void setAutoRenewTime(int autoRenewTime)
           
 void setAutoRenewTimeUnit(String autoRenewTimeUnit)
           
 void setBilling(Billing billing)
           
 void setClientToken(String clientToken)
           
 void setCloudDiskSize(int cloudDiskSize)
           
 void setCloudDiskStorageType(String cloudDiskStorageType)
           
 void setCpuCount(int cpuCount)
           
 void setFlavor(String flavor)
           
 void setPurchaseCount(int purchaseCount)
           
 void setType(String type)
           
 void setZoneName(String zoneName)
           
 CreateDccRequest withRequestCredentials(BceCredentials credentials)
           
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLOUD_DISK_TYPE_HP1

public static final String CLOUD_DISK_TYPE_HP1
Dcc supports the following two types of cloud disk.

See Also:
Constant Field Values

CLOUD_DISK_TYPE_CLOUD_HP1

public static final String CLOUD_DISK_TYPE_CLOUD_HP1
See Also:
Constant Field Values

AUTO_RENEW_TIME_UNIT_MONTH

public static final String AUTO_RENEW_TIME_UNIT_MONTH
Dcc supports the following two types of auto renew time unit.

See Also:
Constant Field Values

AUTO_RENEW_TIME_UNIT_YEAR

public static final String AUTO_RENEW_TIME_UNIT_YEAR
See Also:
Constant Field Values
Constructor Detail

CreateDccRequest

public CreateDccRequest()
Method Detail

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

checkCloudDiskType

public void checkCloudDiskType()
check whether cloud disk storage type is correct.


checkAutoRenewTime

public void checkAutoRenewTime()
check whether auto renew time unit is correct.


getFlavor

public String getFlavor()

setFlavor

public void setFlavor(String flavor)

getCpuCount

public int getCpuCount()

setCpuCount

public void setCpuCount(int cpuCount)

getPurchaseCount

public int getPurchaseCount()

setPurchaseCount

public void setPurchaseCount(int purchaseCount)

getType

public String getType()

setType

public void setType(String type)

getZoneName

public String getZoneName()

setZoneName

public void setZoneName(String zoneName)

getAutoRenewTime

public int getAutoRenewTime()

setAutoRenewTime

public void setAutoRenewTime(int autoRenewTime)

getAutoRenewTimeUnit

public String getAutoRenewTimeUnit()

setAutoRenewTimeUnit

public void setAutoRenewTimeUnit(String autoRenewTimeUnit)

getCloudDiskSize

public int getCloudDiskSize()

setCloudDiskSize

public void setCloudDiskSize(int cloudDiskSize)

getCloudDiskStorageType

public String getCloudDiskStorageType()

setCloudDiskStorageType

public void setCloudDiskStorageType(String cloudDiskStorageType)

getBilling

public Billing getBilling()

setBilling

public void setBilling(Billing billing)

withRequestCredentials

public CreateDccRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest


Copyright © 2020. All rights reserved.