Interface ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder,,ModifyTransitGatewayNetworkFunctionAttachmentRequest> Ec2Request.Builder,SdkBuilder<ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder,,ModifyTransitGatewayNetworkFunctionAttachmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyTransitGatewayNetworkFunctionAttachmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAvailabilityZoneIds(String... addAvailabilityZoneIds) The IDs of the Availability Zones to add to the attachment.addAvailabilityZoneIds(Collection<String> addAvailabilityZoneIds) The IDs of the Availability Zones to add to the attachment.addAvailabilityZones(String... addAvailabilityZones) The names of the Availability Zones to add to the attachment.addAvailabilityZones(Collection<String> addAvailabilityZones) The names of the Availability Zones to add to the attachment.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeAvailabilityZoneIds(String... removeAvailabilityZoneIds) The IDs of the Availability Zones to remove from the attachment.removeAvailabilityZoneIds(Collection<String> removeAvailabilityZoneIds) The IDs of the Availability Zones to remove from the attachment.removeAvailabilityZones(String... removeAvailabilityZones) The names of the Availability Zones to remove from the attachment.removeAvailabilityZones(Collection<String> removeAvailabilityZones) The names of the Availability Zones to remove from the attachment.transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the network function attachment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
transitGatewayAttachmentId
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the network function attachment.
- Parameters:
transitGatewayAttachmentId- The ID of the network function attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAvailabilityZones
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder addAvailabilityZones(Collection<String> addAvailabilityZones) The names of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.
- Parameters:
addAvailabilityZones- The names of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAvailabilityZones
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder addAvailabilityZones(String... addAvailabilityZones) The names of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.
- Parameters:
addAvailabilityZones- The names of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAvailabilityZoneIds
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder addAvailabilityZoneIds(Collection<String> addAvailabilityZoneIds) The IDs of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.
- Parameters:
addAvailabilityZoneIds- The IDs of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAvailabilityZoneIds
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder addAvailabilityZoneIds(String... addAvailabilityZoneIds) The IDs of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.
- Parameters:
addAvailabilityZoneIds- The IDs of the Availability Zones to add to the attachment. You can't add and remove the same Availability Zone in a single request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAvailabilityZones
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder removeAvailabilityZones(Collection<String> removeAvailabilityZones) The names of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.
- Parameters:
removeAvailabilityZones- The names of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAvailabilityZones
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder removeAvailabilityZones(String... removeAvailabilityZones) The names of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.
- Parameters:
removeAvailabilityZones- The names of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAvailabilityZoneIds
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder removeAvailabilityZoneIds(Collection<String> removeAvailabilityZoneIds) The IDs of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.
- Parameters:
removeAvailabilityZoneIds- The IDs of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAvailabilityZoneIds
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder removeAvailabilityZoneIds(String... removeAvailabilityZoneIds) The IDs of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.
- Parameters:
removeAvailabilityZoneIds- The IDs of the Availability Zones to remove from the attachment. Each Availability Zone must be currently in the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyTransitGatewayNetworkFunctionAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-