@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleaseHostsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReleaseHostsRequest>
NOOP| Constructor and Description |
|---|
ReleaseHostsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ReleaseHostsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ReleaseHostsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getHostIds()
The IDs of the Dedicated Hosts to release.
|
int |
hashCode() |
void |
setHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts to release.
|
String |
toString()
Returns a string representation of this object.
|
ReleaseHostsRequest |
withHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts to release.
|
ReleaseHostsRequest |
withHostIds(String... hostIds)
The IDs of the Dedicated Hosts to release.
|
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 List<String> getHostIds()
The IDs of the Dedicated Hosts to release.
public void setHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts to release.
hostIds - The IDs of the Dedicated Hosts to release.public ReleaseHostsRequest withHostIds(String... hostIds)
The IDs of the Dedicated Hosts to release.
NOTE: This method appends the values to the existing list (if any). Use
setHostIds(java.util.Collection) or withHostIds(java.util.Collection) if you want to override
the existing values.
hostIds - The IDs of the Dedicated Hosts to release.public ReleaseHostsRequest withHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts to release.
hostIds - The IDs of the Dedicated Hosts to release.public Request<ReleaseHostsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ReleaseHostsRequest>public String toString()
toString in class ObjectObject.toString()public ReleaseHostsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()