@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteKeyPairResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DeleteKeyPairResult() |
Modifier and Type | Method and Description |
---|---|
DeleteKeyPairResult |
clone() |
boolean |
equals(Object obj) |
String |
getKeyPairId()
The ID of the key pair.
|
Boolean |
getReturn()
Is
true if the request succeeds, and an error otherwise. |
int |
hashCode() |
Boolean |
isReturn()
Is
true if the request succeeds, and an error otherwise. |
void |
setKeyPairId(String keyPairId)
The ID of the key pair.
|
void |
setReturn(Boolean returnValue)
Is
true if the request succeeds, and an error otherwise. |
String |
toString()
Returns a string representation of this object.
|
DeleteKeyPairResult |
withKeyPairId(String keyPairId)
The ID of the key pair.
|
DeleteKeyPairResult |
withReturn(Boolean returnValue)
Is
true if the request succeeds, and an error otherwise. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setReturn(Boolean returnValue)
Is true
if the request succeeds, and an error otherwise.
returnValue
- Is true
if the request succeeds, and an error otherwise.public Boolean getReturn()
Is true
if the request succeeds, and an error otherwise.
true
if the request succeeds, and an error otherwise.public DeleteKeyPairResult withReturn(Boolean returnValue)
Is true
if the request succeeds, and an error otherwise.
returnValue
- Is true
if the request succeeds, and an error otherwise.public Boolean isReturn()
Is true
if the request succeeds, and an error otherwise.
true
if the request succeeds, and an error otherwise.public void setKeyPairId(String keyPairId)
The ID of the key pair.
keyPairId
- The ID of the key pair.public String getKeyPairId()
The ID of the key pair.
public DeleteKeyPairResult withKeyPairId(String keyPairId)
The ID of the key pair.
keyPairId
- The ID of the key pair.public String toString()
toString
in class Object
Object.toString()
public DeleteKeyPairResult clone()