Interface CreateTransitGatewayMeteringPolicyEntryRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTransitGatewayMeteringPolicyEntryRequest.Builder,CreateTransitGatewayMeteringPolicyEntryRequest>,Ec2Request.Builder,SdkBuilder<CreateTransitGatewayMeteringPolicyEntryRequest.Builder,CreateTransitGatewayMeteringPolicyEntryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTransitGatewayMeteringPolicyEntryRequest
@Mutable @NotThreadSafe public static interface CreateTransitGatewayMeteringPolicyEntryRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayMeteringPolicyEntryRequest.Builder,CreateTransitGatewayMeteringPolicyEntryRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
CreateTransitGatewayMeteringPolicyEntryRequest.Builder policyRuleNumber(Integer 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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
sourceCidrBlock
CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourceCidrBlock(String 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
CreateTransitGatewayMeteringPolicyEntryRequest.Builder sourcePortRange(String 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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
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:
TransitGatewayAttachmentResourceType,TransitGatewayAttachmentResourceType
-
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
CreateTransitGatewayMeteringPolicyEntryRequest.Builder protocol(String 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
CreateTransitGatewayMeteringPolicyEntryRequest.Builder meteredAccount(String 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:
TransitGatewayMeteringPayerType,TransitGatewayMeteringPayerType
-
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:
TransitGatewayMeteringPayerType,TransitGatewayMeteringPayerType
-
dryRun
CreateTransitGatewayMeteringPolicyEntryRequest.Builder dryRun(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTransitGatewayMeteringPolicyEntryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-