Interface CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder,,CreateTransitGatewayNetworkFunctionAttachmentRequest> Ec2Request.Builder,SdkBuilder<CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder,,CreateTransitGatewayNetworkFunctionAttachmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTransitGatewayNetworkFunctionAttachmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZoneIds(String... availabilityZoneIds) The IDs of the Availability Zones for the attachment.availabilityZoneIds(Collection<String> availabilityZoneIds) The IDs of the Availability Zones for the attachment.availabilityZones(String... availabilityZones) The names of the Availability Zones for the attachment.availabilityZones(Collection<String> availabilityZones) The names of the Availability Zones for 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.serviceName(String serviceName) The name of the Gateway Load Balancer endpoint service.tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the network function attachment.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the network function attachment.tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to the network function attachment.transitGatewayId(String transitGatewayId) The ID of the transit gateway.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
-
transitGatewayId
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder transitGatewayId(String transitGatewayId) The ID of the transit gateway. The transit gateway must be in the
availablestate.- Parameters:
transitGatewayId- The ID of the transit gateway. The transit gateway must be in theavailablestate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceName
The name of the Gateway Load Balancer endpoint service.
- Parameters:
serviceName- The name of the Gateway Load Balancer endpoint service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder availabilityZones(Collection<String> availabilityZones) The names of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,
AvailabilityZoneIds, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Parameters:
availabilityZones- The names of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,AvailabilityZoneIds, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder availabilityZones(String... availabilityZones) The names of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,
AvailabilityZoneIds, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Parameters:
availabilityZones- The names of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,AvailabilityZoneIds, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneIds
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder availabilityZoneIds(Collection<String> availabilityZoneIds) The IDs of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,
AvailabilityZones, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Parameters:
availabilityZoneIds- The IDs of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,AvailabilityZones, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneIds
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder availabilityZoneIds(String... availabilityZoneIds) The IDs of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,
AvailabilityZones, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Parameters:
availabilityZoneIds- The IDs of the Availability Zones for the attachment. You must specify at least one Availability Zone, using this parameter,AvailabilityZones, or both. Each Availability Zone must be supported by both the transit gateway and the endpoint service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the network function attachment.
- Parameters:
tagSpecifications- The tags to apply to the network function attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to the network function attachment.
- Parameters:
tagSpecifications- The tags to apply to the network function attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateTransitGatewayNetworkFunctionAttachmentRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the network function attachment.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagSpecifications(List<TagSpecification>).- Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
CreateTransitGatewayNetworkFunctionAttachmentRequest.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
CreateTransitGatewayNetworkFunctionAttachmentRequest.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.
-