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