@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateHostKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateHostKeyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateHostKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
Provide an updated description for the host key.
|
String |
getHostKeyId()
Provide the ID of the host key that you are updating.
|
String |
getServerId()
Provide the ID of the server that contains the host key that you are updating.
|
int |
hashCode() |
void |
setDescription(String description)
Provide an updated description for the host key.
|
void |
setHostKeyId(String hostKeyId)
Provide the ID of the host key that you are updating.
|
void |
setServerId(String serverId)
Provide the ID of the server that contains the host key that you are updating.
|
String |
toString()
Returns a string representation of this object.
|
UpdateHostKeyRequest |
withDescription(String description)
Provide an updated description for the host key.
|
UpdateHostKeyRequest |
withHostKeyId(String hostKeyId)
Provide the ID of the host key that you are updating.
|
UpdateHostKeyRequest |
withServerId(String serverId)
Provide the ID of the server that contains the host key that you are updating.
|
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, withSdkRequestTimeout
public void setServerId(String serverId)
Provide the ID of the server that contains the host key that you are updating.
serverId
- Provide the ID of the server that contains the host key that you are updating.public String getServerId()
Provide the ID of the server that contains the host key that you are updating.
public UpdateHostKeyRequest withServerId(String serverId)
Provide the ID of the server that contains the host key that you are updating.
serverId
- Provide the ID of the server that contains the host key that you are updating.public void setHostKeyId(String hostKeyId)
Provide the ID of the host key that you are updating.
hostKeyId
- Provide the ID of the host key that you are updating.public String getHostKeyId()
Provide the ID of the host key that you are updating.
public UpdateHostKeyRequest withHostKeyId(String hostKeyId)
Provide the ID of the host key that you are updating.
hostKeyId
- Provide the ID of the host key that you are updating.public void setDescription(String description)
Provide an updated description for the host key.
description
- Provide an updated description for the host key.public String getDescription()
Provide an updated description for the host key.
public UpdateHostKeyRequest withDescription(String description)
Provide an updated description for the host key.
description
- Provide an updated description for the host key.public String toString()
toString
in class Object
Object.toString()
public UpdateHostKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()