@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyHostsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyHostsRequest>
Contains the parameters for ModifyHosts.
NOOP
Constructor and Description |
---|
ModifyHostsRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyHostsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoPlacement()
Specify whether to enable or disable auto-placement.
|
Request<ModifyHostsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<String> |
getHostIds()
The host IDs of the Dedicated Hosts you want to modify.
|
int |
hashCode() |
void |
setAutoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
|
void |
setAutoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
|
void |
setHostIds(Collection<String> hostIds)
The host IDs of the Dedicated Hosts you want to modify.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyHostsRequest |
withAutoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
|
ModifyHostsRequest |
withAutoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
|
ModifyHostsRequest |
withHostIds(Collection<String> hostIds)
The host IDs of the Dedicated Hosts you want to modify.
|
ModifyHostsRequest |
withHostIds(String... hostIds)
The host IDs of the Dedicated Hosts you want to modify.
|
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 setAutoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement
- Specify whether to enable or disable auto-placement.AutoPlacement
public String getAutoPlacement()
Specify whether to enable or disable auto-placement.
AutoPlacement
public ModifyHostsRequest withAutoPlacement(String autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement
- Specify whether to enable or disable auto-placement.AutoPlacement
public void setAutoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement
- Specify whether to enable or disable auto-placement.AutoPlacement
public ModifyHostsRequest withAutoPlacement(AutoPlacement autoPlacement)
Specify whether to enable or disable auto-placement.
autoPlacement
- Specify whether to enable or disable auto-placement.AutoPlacement
public List<String> getHostIds()
The host IDs of the Dedicated Hosts you want to modify.
public void setHostIds(Collection<String> hostIds)
The host IDs of the Dedicated Hosts you want to modify.
hostIds
- The host IDs of the Dedicated Hosts you want to modify.public ModifyHostsRequest withHostIds(String... hostIds)
The host IDs of the Dedicated Hosts you want to modify.
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 host IDs of the Dedicated Hosts you want to modify.public ModifyHostsRequest withHostIds(Collection<String> hostIds)
The host IDs of the Dedicated Hosts you want to modify.
hostIds
- The host IDs of the Dedicated Hosts you want to modify.public Request<ModifyHostsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyHostsRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyHostsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.