@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInstanceTopologyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeInstanceTopologyRequest>
NOOP
Constructor and Description |
---|
DescribeInstanceTopologyRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeInstanceTopologyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeInstanceTopologyRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilters()
The filters.
|
List<String> |
getGroupNames()
The name of the placement group that each instance is in.
|
List<String> |
getInstanceIds()
The instance IDs.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
String |
getNextToken()
The token returned from a previous paginated request.
|
int |
hashCode() |
void |
setFilters(Collection<Filter> filters)
The filters.
|
void |
setGroupNames(Collection<String> groupNames)
The name of the placement group that each instance is in.
|
void |
setInstanceIds(Collection<String> instanceIds)
The instance IDs.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNextToken(String nextToken)
The token returned from a previous paginated request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInstanceTopologyRequest |
withFilters(Collection<Filter> filters)
The filters.
|
DescribeInstanceTopologyRequest |
withFilters(Filter... filters)
The filters.
|
DescribeInstanceTopologyRequest |
withGroupNames(Collection<String> groupNames)
The name of the placement group that each instance is in.
|
DescribeInstanceTopologyRequest |
withGroupNames(String... groupNames)
The name of the placement group that each instance is in.
|
DescribeInstanceTopologyRequest |
withInstanceIds(Collection<String> instanceIds)
The instance IDs.
|
DescribeInstanceTopologyRequest |
withInstanceIds(String... instanceIds)
The instance IDs.
|
DescribeInstanceTopologyRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeInstanceTopologyRequest |
withNextToken(String nextToken)
The token returned from a previous paginated request.
|
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 setNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public String getNextToken()
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
public DescribeInstanceTopologyRequest withNextToken(String nextToken)
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
nextToken
- The token returned from a previous paginated request. Pagination continues from the end of the items
returned by the previous request.public void setMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.
You can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
public Integer getMaxResults()
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
You can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
public DescribeInstanceTopologyRequest withMaxResults(Integer maxResults)
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
You can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
maxResults
- The maximum number of items to return for this request. To get the next page of items, make another
request with the token returned in the output. For more information, see Pagination.
You can't specify this parameter and the instance IDs parameter in the same request.
Default: 20
public List<String> getInstanceIds()
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
public void setInstanceIds(Collection<String> instanceIds)
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
instanceIds
- The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
public DescribeInstanceTopologyRequest withInstanceIds(String... instanceIds)
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
public DescribeInstanceTopologyRequest withInstanceIds(Collection<String> instanceIds)
The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
instanceIds
- The instance IDs.
Default: Describes all your instances.
Constraints: Maximum 100 explicitly specified instance IDs.
public List<String> getGroupNames()
The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
Constraints: Maximum 100 explicitly specified placement group names.
public void setGroupNames(Collection<String> groupNames)
The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
groupNames
- The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
public DescribeInstanceTopologyRequest withGroupNames(String... groupNames)
The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
NOTE: This method appends the values to the existing list (if any). Use
setGroupNames(java.util.Collection)
or withGroupNames(java.util.Collection)
if you want to
override the existing values.
groupNames
- The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
public DescribeInstanceTopologyRequest withGroupNames(Collection<String> groupNames)
The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
groupNames
- The name of the placement group that each instance is in.
Constraints: Maximum 100 explicitly specified placement group names.
public List<Filter> getFilters()
The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
) or
Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family (for
example, p4d*
). You can use the *
wildcard to match zero or more characters, or the
?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone (for
example, usw2-lax1-az1
) that the instance is in.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
)
or Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance
family (for example, p4d*
). You can use the *
wildcard to match zero or more
characters, or the ?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone
(for example, usw2-lax1-az1
) that the instance is in.
public void setFilters(Collection<Filter> filters)
The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
) or
Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family (for
example, p4d*
). You can use the *
wildcard to match zero or more characters, or the
?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone (for
example, usw2-lax1-az1
) that the instance is in.
filters
- The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
)
or Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family
(for example, p4d*
). You can use the *
wildcard to match zero or more
characters, or the ?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone
(for example, usw2-lax1-az1
) that the instance is in.
public DescribeInstanceTopologyRequest withFilters(Filter... filters)
The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
) or
Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family (for
example, p4d*
). You can use the *
wildcard to match zero or more characters, or the
?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone (for
example, usw2-lax1-az1
) that the instance is in.
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 name of the Availability Zone (for example, us-west-2a
)
or Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family
(for example, p4d*
). You can use the *
wildcard to match zero or more
characters, or the ?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone
(for example, usw2-lax1-az1
) that the instance is in.
public DescribeInstanceTopologyRequest withFilters(Collection<Filter> filters)
The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
) or
Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family (for
example, p4d*
). You can use the *
wildcard to match zero or more characters, or the
?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone (for
example, usw2-lax1-az1
) that the instance is in.
filters
- The filters.
availability-zone
- The name of the Availability Zone (for example, us-west-2a
)
or Local Zone (for example, us-west-2-lax-1b
) that the instance is in.
instance-type
- The instance type (for example, p4d.24xlarge
) or instance family
(for example, p4d*
). You can use the *
wildcard to match zero or more
characters, or the ?
wildcard to match zero or one character.
zone-id
- The ID of the Availability Zone (for example, usw2-az2
) or Local Zone
(for example, usw2-lax1-az1
) that the instance is in.
public Request<DescribeInstanceTopologyRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeInstanceTopologyRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeInstanceTopologyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()