Interface AssociateTrunkInterfaceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssociateTrunkInterfaceResponse.Builder,,AssociateTrunkInterfaceResponse> Ec2Response.Builder,SdkBuilder<AssociateTrunkInterfaceResponse.Builder,,AssociateTrunkInterfaceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateTrunkInterfaceResponse
public static interface AssociateTrunkInterfaceResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateTrunkInterfaceResponse.Builder,AssociateTrunkInterfaceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.interfaceAssociation(Consumer<TrunkInterfaceAssociation.Builder> interfaceAssociation) Information about the association between the trunk network interface and branch network interface.interfaceAssociation(TrunkInterfaceAssociation interfaceAssociation) Information about the association between the trunk network interface and branch network interface.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
-
interfaceAssociation
AssociateTrunkInterfaceResponse.Builder interfaceAssociation(TrunkInterfaceAssociation interfaceAssociation) Information about the association between the trunk network interface and branch network interface.
- Parameters:
interfaceAssociation- Information about the association between the trunk network interface and branch network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceAssociation
default AssociateTrunkInterfaceResponse.Builder interfaceAssociation(Consumer<TrunkInterfaceAssociation.Builder> interfaceAssociation) Information about the association between the trunk network interface and branch network interface.
This is a convenience method that creates an instance of theTrunkInterfaceAssociation.Builderavoiding the need to create one manually viaTrunkInterfaceAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointerfaceAssociation(TrunkInterfaceAssociation).- Parameters:
interfaceAssociation- a consumer that will call methods onTrunkInterfaceAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-