@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 ID/s of the Dedicated Host/s that the reservation will be associated with.
|
String |
getOfferingId()
The offering ID of the reservation.
|
int |
hashCode() |
void |
setHostIdSet(Collection<String> hostIdSet)
The ID/s of the Dedicated Host/s that the reservation will be associated with.
|
void |
setOfferingId(String offeringId)
The offering ID of the reservation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetHostReservationPurchasePreviewRequest |
withHostIdSet(Collection<String> hostIdSet)
The ID/s of the Dedicated Host/s that the reservation will be associated with.
|
GetHostReservationPurchasePreviewRequest |
withHostIdSet(String... hostIdSet)
The ID/s of the Dedicated Host/s that the reservation will be associated with.
|
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 ID/s of the Dedicated Host/s that the reservation will be associated with.
public void setHostIdSet(Collection<String> hostIdSet)
The ID/s of the Dedicated Host/s that the reservation will be associated with.
hostIdSet
- The ID/s of the Dedicated Host/s that the reservation will be associated with.public GetHostReservationPurchasePreviewRequest withHostIdSet(String... hostIdSet)
The ID/s of the Dedicated Host/s that the reservation will be associated with.
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 ID/s of the Dedicated Host/s that the reservation will be associated with.public GetHostReservationPurchasePreviewRequest withHostIdSet(Collection<String> hostIdSet)
The ID/s of the Dedicated Host/s that the reservation will be associated with.
hostIdSet
- The ID/s of the Dedicated Host/s that the reservation will be associated with.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.