@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReleaseHostsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ReleaseHostsRequest>
Contains the parameters for ReleaseHosts.
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 you want to release.
|
int |
hashCode() |
void |
setHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts you want to release.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ReleaseHostsRequest |
withHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts you want to release.
|
ReleaseHostsRequest |
withHostIds(String... hostIds)
The IDs of the Dedicated Hosts you want 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, withSdkRequestTimeout
public List<String> getHostIds()
The IDs of the Dedicated Hosts you want to release.
public void setHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts you want to release.
hostIds
- The IDs of the Dedicated Hosts you want to release.public ReleaseHostsRequest withHostIds(String... hostIds)
The IDs of the Dedicated Hosts you want 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 you want to release.public ReleaseHostsRequest withHostIds(Collection<String> hostIds)
The IDs of the Dedicated Hosts you want to release.
hostIds
- The IDs of the Dedicated Hosts you want to release.public Request<ReleaseHostsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ReleaseHostsRequest>
public String toString()
toString
in class Object
Object.toString()
public ReleaseHostsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.