Interface DescribeInstanceTopologyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstanceTopologyResponse.Builder,
,DescribeInstanceTopologyResponse> Ec2Response.Builder
,SdkBuilder<DescribeInstanceTopologyResponse.Builder,
,DescribeInstanceTopologyResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeInstanceTopologyResponse
@Mutable
@NotThreadSafe
public static interface DescribeInstanceTopologyResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeInstanceTopologyResponse.Builder,DescribeInstanceTopologyResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstances
(Collection<InstanceTopology> instances) Information about the topology of each instance.instances
(Consumer<InstanceTopology.Builder>... instances) Information about the topology of each instance.instances
(InstanceTopology... instances) Information about the topology of each instance.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 toinstances(List<InstanceTopology>)
.- 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:
-
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.
-