Interface GetTransitGatewayRegistrationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTransitGatewayRegistrationsResponse.Builder,GetTransitGatewayRegistrationsResponse>,NetworkManagerResponse.Builder,SdkBuilder<GetTransitGatewayRegistrationsResponse.Builder,GetTransitGatewayRegistrationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetTransitGatewayRegistrationsResponse
public static interface GetTransitGatewayRegistrationsResponse.Builder extends NetworkManagerResponse.Builder, SdkPojo, CopyableBuilder<GetTransitGatewayRegistrationsResponse.Builder,GetTransitGatewayRegistrationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetTransitGatewayRegistrationsResponse.BuildernextToken(String nextToken)The token for the next page of results.GetTransitGatewayRegistrationsResponse.BuildertransitGatewayRegistrations(Collection<TransitGatewayRegistration> transitGatewayRegistrations)The transit gateway registrations.GetTransitGatewayRegistrationsResponse.BuildertransitGatewayRegistrations(Consumer<TransitGatewayRegistration.Builder>... transitGatewayRegistrations)The transit gateway registrations.GetTransitGatewayRegistrationsResponse.BuildertransitGatewayRegistrations(TransitGatewayRegistration... transitGatewayRegistrations)The transit gateway registrations.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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 to#transitGatewayRegistrations(List.) - 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:
#transitGatewayRegistrations(java.util.Collection)
-
nextToken
GetTransitGatewayRegistrationsResponse.Builder nextToken(String 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.
-
-