Interface CreateSecondaryNetworkAclAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSecondaryNetworkAclAssociationResponse.Builder,,CreateSecondaryNetworkAclAssociationResponse> Ec2Response.Builder,SdkBuilder<CreateSecondaryNetworkAclAssociationResponse.Builder,,CreateSecondaryNetworkAclAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSecondaryNetworkAclAssociationResponse
@Mutable
@NotThreadSafe
public static interface CreateSecondaryNetworkAclAssociationResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateSecondaryNetworkAclAssociationResponse.Builder,CreateSecondaryNetworkAclAssociationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique, case-sensitive identifier to ensure the idempotency of the request.secondaryNetworkAclAssociation(Consumer<SecondaryNetworkAclAssociation.Builder> secondaryNetworkAclAssociation) Information about the secondary network ACL association.secondaryNetworkAclAssociation(SecondaryNetworkAclAssociation secondaryNetworkAclAssociation) Information about the secondary network ACL association.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
-
secondaryNetworkAclAssociation
CreateSecondaryNetworkAclAssociationResponse.Builder secondaryNetworkAclAssociation(SecondaryNetworkAclAssociation secondaryNetworkAclAssociation) Information about the secondary network ACL association.
- Parameters:
secondaryNetworkAclAssociation- Information about the secondary network ACL association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryNetworkAclAssociation
default CreateSecondaryNetworkAclAssociationResponse.Builder secondaryNetworkAclAssociation(Consumer<SecondaryNetworkAclAssociation.Builder> secondaryNetworkAclAssociation) Information about the secondary network ACL association.
This is a convenience method that creates an instance of theSecondaryNetworkAclAssociation.Builderavoiding the need to create one manually viaSecondaryNetworkAclAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecondaryNetworkAclAssociation(SecondaryNetworkAclAssociation).- Parameters:
secondaryNetworkAclAssociation- a consumer that will call methods onSecondaryNetworkAclAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.
- Parameters:
clientToken- Unique, case-sensitive identifier to ensure the idempotency of the request. Only returned if a client token was provided in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-