Interface TransitGatewayMeteringPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayMeteringPolicy.Builder,,TransitGatewayMeteringPolicy> SdkBuilder<TransitGatewayMeteringPolicy.Builder,,TransitGatewayMeteringPolicy> SdkPojo
- Enclosing class:
TransitGatewayMeteringPolicy
-
Method Summary
Modifier and TypeMethodDescriptionmiddleboxAttachmentIds(String... middleboxAttachmentIds) The IDs of the middlebox attachments associated with the metering policy.middleboxAttachmentIds(Collection<String> middleboxAttachmentIds) The IDs of the middlebox attachments associated with the metering policy.The state of the transit gateway metering policy.The state of the transit gateway metering policy.tags(Collection<Tag> tags) The tags assigned to the transit gateway metering policy.tags(Consumer<Tag.Builder>... tags) The tags assigned to the transit gateway metering policy.The tags assigned to the transit gateway metering policy.transitGatewayId(String transitGatewayId) The ID of the transit gateway associated with the metering policy.transitGatewayMeteringPolicyId(String transitGatewayMeteringPolicyId) The ID of the transit gateway metering policy.updateEffectiveAt(Instant updateEffectiveAt) The date and time when the metering policy update becomes effective.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
TransitGatewayMeteringPolicy.Builder transitGatewayMeteringPolicyId(String transitGatewayMeteringPolicyId) The ID of the transit gateway metering policy.
- Parameters:
transitGatewayMeteringPolicyId- The ID of the transit gateway metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayId
The ID of the transit gateway associated with the metering policy.
- Parameters:
transitGatewayId- The ID of the transit gateway associated with the metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
middleboxAttachmentIds
TransitGatewayMeteringPolicy.Builder middleboxAttachmentIds(Collection<String> middleboxAttachmentIds) The IDs of the middlebox attachments associated with the metering policy.
- Parameters:
middleboxAttachmentIds- The IDs of the middlebox attachments associated with the metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
middleboxAttachmentIds
The IDs of the middlebox attachments associated with the metering policy.
- Parameters:
middleboxAttachmentIds- The IDs of the middlebox attachments associated with the metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the transit gateway metering policy.
- Parameters:
state- The state of the transit gateway metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the transit gateway metering policy.
- Parameters:
state- The state of the transit gateway metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateEffectiveAt
The date and time when the metering policy update becomes effective.
- Parameters:
updateEffectiveAt- The date and time when the metering policy update becomes effective.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the transit gateway metering policy.
- Parameters:
tags- The tags assigned to the transit gateway metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the transit gateway metering policy.
- Parameters:
tags- The tags assigned to the transit gateway metering policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the transit gateway metering policy.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-