com.baidubce.services.bcc.model.asp
Class CreateAspRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bcc.model.asp.CreateAspRequest

public class CreateAspRequest
extends AbstractBceRequest

The request for creating new autoSnapshotPolicy.


Constructor Summary
CreateAspRequest()
           
 
Method Summary
 String getClientToken()
           
 String getName()
           
 List<Integer> getRepeatWeekdays()
           
 String getRetentionDays()
           
 List<Integer> getTimePoints()
           
 void setClientToken(String clientToken)
           
 void setName(String name)
           
 void setRepeatWeekdays(List<Integer> repeatWeekdays)
           
 void setRetentionDays(String retentionDays)
           
 void setTimePoints(List<Integer> timePoints)
           
 CreateAspRequest withClientToken(String clientToken)
           
 CreateAspRequest withName(String name)
           
 CreateAspRequest withRepeatWeekdays(List<Integer> repeatWeekdays)
           
 CreateAspRequest withRequestCredentials(BceCredentials credentials)
           
 CreateAspRequest withRetentionDays(String retentionDays)
           
 CreateAspRequest withTimePoints(List<Integer> timePoints)
           
 
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
 

Constructor Detail

CreateAspRequest

public CreateAspRequest()
Method Detail

getClientToken

public String getClientToken()

setClientToken

public void setClientToken(String clientToken)

getName

public String getName()

setName

public void setName(String name)

getTimePoints

public List<Integer> getTimePoints()

setTimePoints

public void setTimePoints(List<Integer> timePoints)

getRepeatWeekdays

public List<Integer> getRepeatWeekdays()

setRepeatWeekdays

public void setRepeatWeekdays(List<Integer> repeatWeekdays)

getRetentionDays

public String getRetentionDays()

setRetentionDays

public void setRetentionDays(String retentionDays)

withClientToken

public CreateAspRequest withClientToken(String clientToken)

withName

public CreateAspRequest withName(String name)

withTimePoints

public CreateAspRequest withTimePoints(List<Integer> timePoints)

withRepeatWeekdays

public CreateAspRequest withRepeatWeekdays(List<Integer> repeatWeekdays)

withRetentionDays

public CreateAspRequest withRetentionDays(String retentionDays)

withRequestCredentials

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


Copyright © 2020. All rights reserved.