Interface ListGatewayInstancesResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewayInstancesResponse.Builder,,ListGatewayInstancesResponse> MediaConnectResponse.Builder,SdkBuilder<ListGatewayInstancesResponse.Builder,,ListGatewayInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListGatewayInstancesResponse
public static interface ListGatewayInstancesResponse.Builder
extends MediaConnectResponse.Builder, SdkPojo, CopyableBuilder<ListGatewayInstancesResponse.Builder,ListGatewayInstancesResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioninstances(Collection<ListedGatewayInstance> instances) A list of instance summaries.instances(Consumer<ListedGatewayInstance.Builder>... instances) A list of instance summaries.instances(ListedGatewayInstance... instances) A list of instance summaries.The token that identifies which batch of results that you want to see.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediaconnect.model.MediaConnectResponse.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
A list of instance summaries.- Parameters:
 instances- A list of instance summaries.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
instances
A list of instance summaries.- Parameters:
 instances- A list of instance summaries.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
instances
ListGatewayInstancesResponse.Builder instances(Consumer<ListedGatewayInstance.Builder>... instances) A list of instance summaries. This is a convenience method that creates an instance of theListedGatewayInstance.Builderavoiding the need to create one manually viaListedGatewayInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstances(List<ListedGatewayInstance>).- Parameters:
 instances- a consumer that will call methods onListedGatewayInstance.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
The token that identifies which batch of results that you want to see. For example, you submit a ListInstances request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListInstances request a second time and specify the NextToken value.- Parameters:
 nextToken- The token that identifies which batch of results that you want to see. For example, you submit a ListInstances request with MaxResults set at 5. The service returns the first batch of results (up to 5) and a NextToken value. To see the next batch of results, you can submit the ListInstances request a second time and specify the NextToken value.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -