Interface ListGatewaysResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListGatewaysResponse.Builder,,ListGatewaysResponse> MediaConnectResponse.Builder,SdkBuilder<ListGatewaysResponse.Builder,,ListGatewaysResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListGatewaysResponse
-
Method Summary
Modifier and TypeMethodDescriptiongateways(Collection<ListedGateway> gateways) A list of gateway summaries.gateways(Consumer<ListedGateway.Builder>... gateways) A list of gateway summaries.gateways(ListedGateway... gateways) A list of gateway summaries.The token that identifies the 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
gateways
A list of gateway summaries.
- Parameters:
gateways- A list of gateway summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
A list of gateway summaries.
- Parameters:
gateways- A list of gateway summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
A list of gateway summaries.
This is a convenience method that creates an instance of theListedGateway.Builderavoiding the need to create one manually viaListedGateway.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togateways(List<ListedGateway>).- Parameters:
gateways- a consumer that will call methods onListedGateway.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that identifies the batch of results that you want to see.
For example, you submit a
ListGatewaysrequest withMaxResultsset at 5. The service returns the first batch of results (up to 5) and aNextTokenvalue. To see the next batch of results, you can submit theListGatewaysrequest a second time and specify theNextTokenvalue.- Parameters:
nextToken- The token that identifies the batch of results that you want to see.For example, you submit a
ListGatewaysrequest withMaxResultsset at 5. The service returns the first batch of results (up to 5) and aNextTokenvalue. To see the next batch of results, you can submit theListGatewaysrequest a second time and specify theNextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-