Interface ModifyTransitGatewayPrefixListReferenceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyTransitGatewayPrefixListReferenceResponse.Builder,,ModifyTransitGatewayPrefixListReferenceResponse> Ec2Response.Builder,SdkBuilder<ModifyTransitGatewayPrefixListReferenceResponse.Builder,,ModifyTransitGatewayPrefixListReferenceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyTransitGatewayPrefixListReferenceResponse
public static interface ModifyTransitGatewayPrefixListReferenceResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyTransitGatewayPrefixListReferenceResponse.Builder,ModifyTransitGatewayPrefixListReferenceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontransitGatewayPrefixListReference(Consumer<TransitGatewayPrefixListReference.Builder> transitGatewayPrefixListReference) Information about the prefix list reference.transitGatewayPrefixListReference(TransitGatewayPrefixListReference transitGatewayPrefixListReference) Information about the prefix list reference.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
transitGatewayPrefixListReference
ModifyTransitGatewayPrefixListReferenceResponse.Builder transitGatewayPrefixListReference(TransitGatewayPrefixListReference transitGatewayPrefixListReference) Information about the prefix list reference.
- Parameters:
transitGatewayPrefixListReference- Information about the prefix list reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayPrefixListReference
default ModifyTransitGatewayPrefixListReferenceResponse.Builder transitGatewayPrefixListReference(Consumer<TransitGatewayPrefixListReference.Builder> transitGatewayPrefixListReference) Information about the prefix list reference.
This is a convenience method that creates an instance of theTransitGatewayPrefixListReference.Builderavoiding the need to create one manually viaTransitGatewayPrefixListReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransitGatewayPrefixListReference(TransitGatewayPrefixListReference).- Parameters:
transitGatewayPrefixListReference- a consumer that will call methods onTransitGatewayPrefixListReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-