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
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
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaInstanceTopology.builder().When the
Consumercompletes,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
nullwhen 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 isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-