Interface DescribeInstanceTopologyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstanceTopologyResponse.Builder,DescribeInstanceTopologyResponse>
,Ec2Response.Builder
,SdkBuilder<DescribeInstanceTopologyResponse.Builder,DescribeInstanceTopologyResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeInstanceTopologyResponse
public static interface DescribeInstanceTopologyResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceTopologyResponse.Builder,DescribeInstanceTopologyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInstanceTopologyResponse.Builder
instances(Collection<InstanceTopology> instances)
Information about the topology of each instance.DescribeInstanceTopologyResponse.Builder
instances(Consumer<InstanceTopology.Builder>... instances)
Information about the topology of each instance.DescribeInstanceTopologyResponse.Builder
instances(InstanceTopology... instances)
Information about the topology of each instance.DescribeInstanceTopologyResponse.Builder
nextToken(String nextToken)
The token to include in another request to get the next page of items.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
instances
DescribeInstanceTopologyResponse.Builder instances(Collection<InstanceTopology> instances)
Information about the topology of each instance.
- Parameters:
instances
- Information about the topology of each instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
DescribeInstanceTopologyResponse.Builder instances(InstanceTopology... instances)
Information about the topology of each instance.
- Parameters:
instances
- Information about the topology of each instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instances
DescribeInstanceTopologyResponse.Builder instances(Consumer<InstanceTopology.Builder>... instances)
Information about the topology of each instance.
This is a convenience method that creates an instance of theInstanceTopology.Builder
avoiding the need to create one manually viaInstanceTopology.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#instances(List
.) - Parameters:
instances
- a consumer that will call methods onInstanceTopology.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#instances(java.util.Collection
)
-
nextToken
DescribeInstanceTopologyResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-