Interface TransitGatewayMeteringPolicy.Builder

    • 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.
      • 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)