Interface CreateTransitGatewayMeteringPolicyEntryRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTransitGatewayMeteringPolicyEntryRequest.Builder,,CreateTransitGatewayMeteringPolicyEntryRequest> Ec2Request.Builder,SdkBuilder<CreateTransitGatewayMeteringPolicyEntryRequest.Builder,,CreateTransitGatewayMeteringPolicyEntryRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTransitGatewayMeteringPolicyEntryRequest
-
Method Summary
Modifier and TypeMethodDescriptiondestinationCidrBlock(String destinationCidrBlock) The destination CIDR block for traffic matching.destinationPortRange(String destinationPortRange) The destination port range for traffic matching.destinationTransitGatewayAttachmentId(String destinationTransitGatewayAttachmentId) The ID of the destination transit gateway attachment for traffic matching.destinationTransitGatewayAttachmentType(String destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment for traffic matching.destinationTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment for traffic matching.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.meteredAccount(String meteredAccount) The Amazon Web Services account ID to which the metered traffic should be attributed.meteredAccount(TransitGatewayMeteringPayerType meteredAccount) The Amazon Web Services account ID to which the metered traffic should be attributed.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyRuleNumber(Integer policyRuleNumber) The rule number for the metering policy entry.The protocol for traffic matching (1, 6, 17, etc.).sourceCidrBlock(String sourceCidrBlock) The source CIDR block for traffic matching.sourcePortRange(String sourcePortRange) The source port range for traffic matching.sourceTransitGatewayAttachmentId(String sourceTransitGatewayAttachmentId) The ID of the source transit gateway attachment for traffic matching.sourceTransitGatewayAttachmentType(String sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment for traffic matching.sourceTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment for traffic matching.transitGatewayMeteringPolicyId(String transitGatewayMeteringPolicyId) The ID of the transit gateway metering policy to add the entry to.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
-
transitGatewayMeteringPolicyId
CreateTransitGatewayMeteringPolicyEntryRequest.Builder transitGatewayMeteringPolicyId(String transitGatewayMeteringPolicyId) The ID of the transit gateway metering policy to add the entry to.
- Parameters:
transitGatewayMeteringPolicyId- The ID of the transit gateway metering policy to add the entry to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyRuleNumber
The rule number for the metering policy entry. Rules are processed in order from lowest to highest number.
- Parameters:
policyRuleNumber- The rule number for the metering policy entry. Rules are processed in order from lowest to highest number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTransitGatewayAttachmentId
CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceTransitGatewayAttachmentId(String sourceTransitGatewayAttachmentId) The ID of the source transit gateway attachment for traffic matching.
- Parameters:
sourceTransitGatewayAttachmentId- The ID of the source transit gateway attachment for traffic matching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTransitGatewayAttachmentType
CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceTransitGatewayAttachmentType(String sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment for traffic matching. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
sourceTransitGatewayAttachmentType- The type of the source transit gateway attachment for traffic matching. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceTransitGatewayAttachmentType
CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType sourceTransitGatewayAttachmentType) The type of the source transit gateway attachment for traffic matching. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
sourceTransitGatewayAttachmentType- The type of the source transit gateway attachment for traffic matching. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceCidrBlock
The source CIDR block for traffic matching.
- Parameters:
sourceCidrBlock- The source CIDR block for traffic matching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourcePortRange
The source port range for traffic matching.
- Parameters:
sourcePortRange- The source port range for traffic matching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTransitGatewayAttachmentId
CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationTransitGatewayAttachmentId(String destinationTransitGatewayAttachmentId) The ID of the destination transit gateway attachment for traffic matching.
- Parameters:
destinationTransitGatewayAttachmentId- The ID of the destination transit gateway attachment for traffic matching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationTransitGatewayAttachmentType
CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationTransitGatewayAttachmentType(String destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment for traffic matching. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
destinationTransitGatewayAttachmentType- The type of the destination transit gateway attachment for traffic matching. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationTransitGatewayAttachmentType
CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationTransitGatewayAttachmentType(TransitGatewayAttachmentResourceType destinationTransitGatewayAttachmentType) The type of the destination transit gateway attachment for traffic matching. Note that the
tgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Parameters:
destinationTransitGatewayAttachmentType- The type of the destination transit gateway attachment for traffic matching. Note that thetgw-peeringresource type has been deprecated. To configure metering policies for Connect, use the transport attachment type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationCidrBlock
CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationCidrBlock(String destinationCidrBlock) The destination CIDR block for traffic matching.
- Parameters:
destinationCidrBlock- The destination CIDR block for traffic matching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPortRange
CreateTransitGatewayMeteringPolicyEntryRequest.Builder destinationPortRange(String destinationPortRange) The destination port range for traffic matching.
- Parameters:
destinationPortRange- The destination port range for traffic matching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
The protocol for traffic matching (1, 6, 17, etc.).
- Parameters:
protocol- The protocol for traffic matching (1, 6, 17, etc.).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meteredAccount
The Amazon Web Services account ID to which the metered traffic should be attributed.
- Parameters:
meteredAccount- The Amazon Web Services account ID to which the metered traffic should be attributed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
meteredAccount
CreateTransitGatewayMeteringPolicyEntryRequest.Builder meteredAccount(TransitGatewayMeteringPayerType meteredAccount) The Amazon Web Services account ID to which the metered traffic should be attributed.
- Parameters:
meteredAccount- The Amazon Web Services account ID to which the metered traffic should be attributed.- 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
CreateTransitGatewayMeteringPolicyEntryRequest.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
CreateTransitGatewayMeteringPolicyEntryRequest.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.
-