com.baidubce.services.bcc.model.asp
Class CreateAspRequest
java.lang.Object
com.baidubce.model.AbstractBceRequest
com.baidubce.services.bcc.model.asp.CreateAspRequest
public class CreateAspRequest
- extends AbstractBceRequest
The request for creating new autoSnapshotPolicy.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateAspRequest
public CreateAspRequest()
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.