@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeleteKeyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeleteKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getForceDelete()
ForceDelete bypasses an API key's expiry conditions and deletes the key.
|
String |
getKeyName()
The name of the API key to delete.
|
int |
hashCode() |
Boolean |
isForceDelete()
ForceDelete bypasses an API key's expiry conditions and deletes the key.
|
void |
setForceDelete(Boolean forceDelete)
ForceDelete bypasses an API key's expiry conditions and deletes the key.
|
void |
setKeyName(String keyName)
The name of the API key to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteKeyRequest |
withForceDelete(Boolean forceDelete)
ForceDelete bypasses an API key's expiry conditions and deletes the key.
|
DeleteKeyRequest |
withKeyName(String keyName)
The name of the API key to delete.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setKeyName(String keyName)
The name of the API key to delete.
keyName - The name of the API key to delete.public String getKeyName()
The name of the API key to delete.
public DeleteKeyRequest withKeyName(String keyName)
The name of the API key to delete.
keyName - The name of the API key to delete.public void setForceDelete(Boolean forceDelete)
ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to
delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
forceDelete - ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter
true to delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
public Boolean getForceDelete()
ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to
delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
true to delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
public DeleteKeyRequest withForceDelete(Boolean forceDelete)
ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to
delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
forceDelete - ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter
true to delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
public Boolean isForceDelete()
ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to
delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
true to delete the key or to false to not preemptively delete the API key.
Valid values: true, or false.
Required: No
This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
public String toString()
toString in class ObjectObject.toString()public DeleteKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()