CopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
, SdkBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
public static interface DescribeInstancesRequest.Builder extends CopyableBuilder<DescribeInstancesRequest.Builder,DescribeInstancesRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeInstancesRequest.Builder |
instanceIds(String... instanceIds) |
An array of instance IDs to be described.
|
DescribeInstancesRequest.Builder |
instanceIds(Collection<String> instanceIds) |
An array of instance IDs to be described.
|
DescribeInstancesRequest.Builder |
layerId(String layerId) |
A layer ID.
|
DescribeInstancesRequest.Builder |
stackId(String stackId) |
A stack ID.
|
copy
apply, build
DescribeInstancesRequest.Builder stackId(String stackId)
A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified stack.
stackId
- A stack ID. If you use this parameter, DescribeInstances
returns descriptions of the
instances associated with the specified stack.DescribeInstancesRequest.Builder layerId(String layerId)
A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the instances
associated with the specified layer.
layerId
- A layer ID. If you use this parameter, DescribeInstances
returns descriptions of the
instances associated with the specified layer.DescribeInstancesRequest.Builder instanceIds(Collection<String> instanceIds)
An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a
description of the specified instances. Otherwise, it returns a description of every instance.
instanceIds
- An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a description of the specified instances. Otherwise, it returns a description of every
instance.DescribeInstancesRequest.Builder instanceIds(String... instanceIds)
An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a
description of the specified instances. Otherwise, it returns a description of every instance.
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
- An array of instance IDs to be described. If you use this parameter, DescribeInstances
returns a description of the specified instances. Otherwise, it returns a description of every
instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.