Interface AssociateTransitGatewayPolicyTableResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateTransitGatewayPolicyTableResponse.Builder,AssociateTransitGatewayPolicyTableResponse>
,Ec2Response.Builder
,SdkBuilder<AssociateTransitGatewayPolicyTableResponse.Builder,AssociateTransitGatewayPolicyTableResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- AssociateTransitGatewayPolicyTableResponse
public static interface AssociateTransitGatewayPolicyTableResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateTransitGatewayPolicyTableResponse.Builder,AssociateTransitGatewayPolicyTableResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssociateTransitGatewayPolicyTableResponse.Builder
association(Consumer<TransitGatewayPolicyTableAssociation.Builder> association)
Describes the association of a transit gateway and a transit gateway policy table.AssociateTransitGatewayPolicyTableResponse.Builder
association(TransitGatewayPolicyTableAssociation association)
Describes the association of a transit gateway and a transit gateway policy table.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
association
AssociateTransitGatewayPolicyTableResponse.Builder association(TransitGatewayPolicyTableAssociation association)
Describes the association of a transit gateway and a transit gateway policy table.
- Parameters:
association
- Describes the association of a transit gateway and a transit gateway policy table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
association
default AssociateTransitGatewayPolicyTableResponse.Builder association(Consumer<TransitGatewayPolicyTableAssociation.Builder> association)
Describes the association of a transit gateway and a transit gateway policy table.
This is a convenience method that creates an instance of theTransitGatewayPolicyTableAssociation.Builder
avoiding the need to create one manually viaTransitGatewayPolicyTableAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociation(TransitGatewayPolicyTableAssociation)
.- Parameters:
association
- a consumer that will call methods onTransitGatewayPolicyTableAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
association(TransitGatewayPolicyTableAssociation)
-
-