Interface SubnetCidrReservation.Builder

    • Method Detail

      • subnetCidrReservationId

        SubnetCidrReservation.Builder subnetCidrReservationId​(String subnetCidrReservationId)

        The ID of the subnet CIDR reservation.

        Parameters:
        subnetCidrReservationId - The ID of the subnet CIDR reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        SubnetCidrReservation.Builder subnetId​(String subnetId)

        The ID of the subnet.

        Parameters:
        subnetId - The ID of the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cidr

        SubnetCidrReservation.Builder cidr​(String cidr)

        The CIDR that has been reserved.

        Parameters:
        cidr - The CIDR that has been reserved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ownerId

        SubnetCidrReservation.Builder ownerId​(String ownerId)

        The ID of the account that owns the subnet CIDR reservation.

        Parameters:
        ownerId - The ID of the account that owns the subnet CIDR reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        SubnetCidrReservation.Builder description​(String description)

        The description assigned to the subnet CIDR reservation.

        Parameters:
        description - The description assigned to the subnet CIDR reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        SubnetCidrReservation.Builder tags​(Collection<Tag> tags)

        The tags assigned to the subnet CIDR reservation.

        Parameters:
        tags - The tags assigned to the subnet CIDR reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        SubnetCidrReservation.Builder tags​(Tag... tags)

        The tags assigned to the subnet CIDR reservation.

        Parameters:
        tags - The tags assigned to the subnet CIDR reservation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        SubnetCidrReservation.Builder tags​(Consumer<Tag.Builder>... tags)

        The tags assigned to the subnet CIDR reservation.

        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)