Interface TransitGatewayMeteringPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TransitGatewayMeteringPolicy.Builder,TransitGatewayMeteringPolicy>,SdkBuilder<TransitGatewayMeteringPolicy.Builder,TransitGatewayMeteringPolicy>,SdkPojo
- Enclosing class:
- TransitGatewayMeteringPolicy
@Mutable @NotThreadSafe public static interface TransitGatewayMeteringPolicy.Builder extends SdkPojo, CopyableBuilder<TransitGatewayMeteringPolicy.Builder,TransitGatewayMeteringPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransitGatewayMeteringPolicy.BuildermiddleboxAttachmentIds(String... middleboxAttachmentIds)The IDs of the middlebox attachments associated with the metering policy.TransitGatewayMeteringPolicy.BuildermiddleboxAttachmentIds(Collection<String> middleboxAttachmentIds)The IDs of the middlebox attachments associated with the metering policy.TransitGatewayMeteringPolicy.Builderstate(String state)The state of the transit gateway metering policy.TransitGatewayMeteringPolicy.Builderstate(TransitGatewayMeteringPolicyState state)The state of the transit gateway metering policy.TransitGatewayMeteringPolicy.Buildertags(Collection<Tag> tags)The tags assigned to the transit gateway metering policy.TransitGatewayMeteringPolicy.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the transit gateway metering policy.TransitGatewayMeteringPolicy.Buildertags(Tag... tags)The tags assigned to the transit gateway metering policy.TransitGatewayMeteringPolicy.BuildertransitGatewayId(String transitGatewayId)The ID of the transit gateway associated with the metering policy.TransitGatewayMeteringPolicy.BuildertransitGatewayMeteringPolicyId(String transitGatewayMeteringPolicyId)The ID of the transit gateway metering policy.TransitGatewayMeteringPolicy.BuilderupdateEffectiveAt(Instant updateEffectiveAt)The date and time when the metering policy update becomes effective.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
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
TransitGatewayMeteringPolicy.Builder transitGatewayId(String 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
TransitGatewayMeteringPolicy.Builder middleboxAttachmentIds(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.
-
state
TransitGatewayMeteringPolicy.Builder state(String 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:
TransitGatewayMeteringPolicyState,TransitGatewayMeteringPolicyState
-
state
TransitGatewayMeteringPolicy.Builder state(TransitGatewayMeteringPolicyState 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:
TransitGatewayMeteringPolicyState,TransitGatewayMeteringPolicyState
-
updateEffectiveAt
TransitGatewayMeteringPolicy.Builder updateEffectiveAt(Instant 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
TransitGatewayMeteringPolicy.Builder tags(Collection<Tag> 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
TransitGatewayMeteringPolicy.Builder tags(Tag... 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
TransitGatewayMeteringPolicy.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
-