public class AddSshKeyResponse extends SdkResponse
| Constructor and Description |
|---|
AddSshKeyResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Error |
getError()
Get error
|
PublicKey |
getResult()
Get result
|
String |
getStatus()
响应状态
|
int |
hashCode() |
void |
setError(Error error) |
void |
setResult(PublicKey result) |
void |
setStatus(String status) |
String |
toString() |
AddSshKeyResponse |
withError(java.util.function.Consumer<Error> errorSetter) |
AddSshKeyResponse |
withError(Error error) |
AddSshKeyResponse |
withResult(java.util.function.Consumer<PublicKey> resultSetter) |
AddSshKeyResponse |
withResult(PublicKey result) |
AddSshKeyResponse |
withStatus(String status) |
getHttpStatusCode, setHttpStatusCodepublic AddSshKeyResponse withError(Error error)
public AddSshKeyResponse withError(java.util.function.Consumer<Error> errorSetter)
public Error getError()
public void setError(Error error)
public AddSshKeyResponse withResult(PublicKey result)
public AddSshKeyResponse withResult(java.util.function.Consumer<PublicKey> resultSetter)
public PublicKey getResult()
public void setResult(PublicKey result)
public AddSshKeyResponse withStatus(String status)
public String getStatus()
public void setStatus(String status)
Copyright © 2022. All rights reserved.