Interface DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder,,DescribeTransitGatewayNetworkFunctionAttachmentsResponse> Ec2Response.Builder,SdkBuilder<DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder,,DescribeTransitGatewayNetworkFunctionAttachmentsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeTransitGatewayNetworkFunctionAttachmentsResponse
@Mutable
@NotThreadSafe
public static interface DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder,DescribeTransitGatewayNetworkFunctionAttachmentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to retrieve the next page of results.transitGatewayNetworkFunctionAttachments(Collection<TransitGatewayNetworkFunctionAttachment> transitGatewayNetworkFunctionAttachments) Information about the network function attachments.transitGatewayNetworkFunctionAttachments(Consumer<TransitGatewayNetworkFunctionAttachment.Builder>... transitGatewayNetworkFunctionAttachments) Information about the network function attachments.transitGatewayNetworkFunctionAttachments(TransitGatewayNetworkFunctionAttachment... transitGatewayNetworkFunctionAttachments) Information about the network function attachments.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
transitGatewayNetworkFunctionAttachments
DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder transitGatewayNetworkFunctionAttachments(Collection<TransitGatewayNetworkFunctionAttachment> transitGatewayNetworkFunctionAttachments) Information about the network function attachments.
- Parameters:
transitGatewayNetworkFunctionAttachments- Information about the network function attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayNetworkFunctionAttachments
DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder transitGatewayNetworkFunctionAttachments(TransitGatewayNetworkFunctionAttachment... transitGatewayNetworkFunctionAttachments) Information about the network function attachments.
- Parameters:
transitGatewayNetworkFunctionAttachments- Information about the network function attachments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayNetworkFunctionAttachments
DescribeTransitGatewayNetworkFunctionAttachmentsResponse.Builder transitGatewayNetworkFunctionAttachments(Consumer<TransitGatewayNetworkFunctionAttachment.Builder>... transitGatewayNetworkFunctionAttachments) Information about the network function attachments.
This is a convenience method that creates an instance of theTransitGatewayNetworkFunctionAttachment.Builderavoiding the need to create one manually viaTransitGatewayNetworkFunctionAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransitGatewayNetworkFunctionAttachments(List<TransitGatewayNetworkFunctionAttachment>).- Parameters:
transitGatewayNetworkFunctionAttachments- a consumer that will call methods onTransitGatewayNetworkFunctionAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-