Interface GetTransitGatewayRegistrationsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<GetTransitGatewayRegistrationsResponse.Builder,,GetTransitGatewayRegistrationsResponse> NetworkManagerResponse.Builder,SdkBuilder<GetTransitGatewayRegistrationsResponse.Builder,,GetTransitGatewayRegistrationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 GetTransitGatewayRegistrationsResponse
@Mutable
@NotThreadSafe
public static interface GetTransitGatewayRegistrationsResponse.Builder
extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetTransitGatewayRegistrationsResponse.Builder,GetTransitGatewayRegistrationsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe token for the next page of results.transitGatewayRegistrations(Collection<TransitGatewayRegistration> transitGatewayRegistrations) The transit gateway registrations.transitGatewayRegistrations(Consumer<TransitGatewayRegistration.Builder>... transitGatewayRegistrations) The transit gateway registrations.transitGatewayRegistrations(TransitGatewayRegistration... transitGatewayRegistrations) The transit gateway registrations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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
- 
transitGatewayRegistrations
GetTransitGatewayRegistrationsResponse.Builder transitGatewayRegistrations(Collection<TransitGatewayRegistration> transitGatewayRegistrations) The transit gateway registrations.
- Parameters:
 transitGatewayRegistrations- The transit gateway registrations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
transitGatewayRegistrations
GetTransitGatewayRegistrationsResponse.Builder transitGatewayRegistrations(TransitGatewayRegistration... transitGatewayRegistrations) The transit gateway registrations.
- Parameters:
 transitGatewayRegistrations- The transit gateway registrations.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
transitGatewayRegistrations
GetTransitGatewayRegistrationsResponse.Builder transitGatewayRegistrations(Consumer<TransitGatewayRegistration.Builder>... transitGatewayRegistrations) The transit gateway registrations.
This is a convenience method that creates an instance of theTransitGatewayRegistration.Builderavoiding the need to create one manually viaTransitGatewayRegistration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransitGatewayRegistrations(List<TransitGatewayRegistration>).- Parameters:
 transitGatewayRegistrations- a consumer that will call methods onTransitGatewayRegistration.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
nextToken
The token for the next page of results.
- Parameters:
 nextToken- The token for the next page of results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -