com.baidubce.services.kms.model
Class ScheduleKeyDeletionRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.kms.model.GenericKmsRequest
          extended by com.baidubce.services.kms.model.ScheduleKeyDeletionRequest

public class ScheduleKeyDeletionRequest
extends GenericKmsRequest

Provides options for deleting master key.


Constructor Summary
ScheduleKeyDeletionRequest()
           
ScheduleKeyDeletionRequest(String keyId, int pendingWindowsInDays)
           
 
Method Summary
 String getKeyId()
           
 int getPendingWindowsInDays()
           
 void setKeyId(String keyId)
           
 void setPendingWindowInDays(int pendingWindowInDays)
           
 ScheduleKeyDeletionRequest withRequestCredentials(BceCredentials credentials)
          Overrides abstract method withRequestCredentials(BceCredentials) in AbstractBceRequest
 
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

ScheduleKeyDeletionRequest

public ScheduleKeyDeletionRequest()

ScheduleKeyDeletionRequest

public ScheduleKeyDeletionRequest(String keyId,
                                  int pendingWindowsInDays)
Method Detail

setKeyId

public void setKeyId(String keyId)

withRequestCredentials

public ScheduleKeyDeletionRequest withRequestCredentials(BceCredentials credentials)
Overrides abstract method withRequestCredentials(BceCredentials) in AbstractBceRequest

Specified by:
withRequestCredentials in class AbstractBceRequest

getKeyId

public String getKeyId()

setPendingWindowInDays

public void setPendingWindowInDays(int pendingWindowInDays)

getPendingWindowsInDays

public int getPendingWindowsInDays()


Copyright © 2018. All rights reserved.