@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeMacHostsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeMacHostsRequest>
NOOP
Constructor and Description |
---|
DescribeMacHostsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeMacHostsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeMacHostsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getHostIds()
The IDs of the EC2 Mac Dedicated Hosts.
|
Integer |
getMaxResults()
The maximum number of results to return for the request in a single page.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setHostIds(Collection<String> hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeMacHostsRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeMacHostsRequest |
withFilters(Filter... filters)
The filters.
|
DescribeMacHostsRequest |
withHostIds(Collection<String> hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
|
DescribeMacHostsRequest |
withHostIds(String... hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
|
DescribeMacHostsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page.
|
DescribeMacHostsRequest |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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<Filter> getFilters()
The filters.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to
support.
public void setFilters(Collection<Filter> filters)
The filters.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
filters
- The filters.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to
support.
public DescribeMacHostsRequest withFilters(Filter... filters)
The filters.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- The filters.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to
support.
public DescribeMacHostsRequest withFilters(Collection<Filter> filters)
The filters.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to support.
filters
- The filters.
availability-zone
- The Availability Zone of the EC2 Mac Dedicated Host.
instance-type
- The instance type size that the EC2 Mac Dedicated Host is configured to
support.
public List<String> getHostIds()
The IDs of the EC2 Mac Dedicated Hosts.
public void setHostIds(Collection<String> hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
hostIds
- The IDs of the EC2 Mac Dedicated Hosts.public DescribeMacHostsRequest withHostIds(String... hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
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 EC2 Mac Dedicated Hosts.public DescribeMacHostsRequest withHostIds(Collection<String> hostIds)
The IDs of the EC2 Mac Dedicated Hosts.
hostIds
- The IDs of the EC2 Mac Dedicated Hosts.public void setMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.public Integer getMaxResults()
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.public DescribeMacHostsRequest withMaxResults(Integer maxResults)
The maximum number of results to return for the request in a single page. The remaining results can be seen by
sending another request with the returned nextToken
value. This value can be between 5 and 500. If
maxResults
is given a larger value than 500, you receive an error.
maxResults
- The maximum number of results to return for the request in a single page. The remaining results can be
seen by sending another request with the returned nextToken
value. This value can be between
5 and 500. If maxResults
is given a larger value than 500, you receive an error.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public DescribeMacHostsRequest withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public Request<DescribeMacHostsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeMacHostsRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeMacHostsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()