Interface Link.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Link.Builder,Link>, SdkBuilder<Link.Builder,Link>, SdkPojo
Enclosing class:
Link

public static interface Link.Builder extends SdkPojo, CopyableBuilder<Link.Builder,Link>
  • Method Details

    • linkId

      Link.Builder linkId(String linkId)

      The ID of the link.

      Parameters:
      linkId - The ID of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkArn

      Link.Builder linkArn(String linkArn)

      The Amazon Resource Name (ARN) of the link.

      Parameters:
      linkArn - The Amazon Resource Name (ARN) of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • globalNetworkId

      Link.Builder globalNetworkId(String globalNetworkId)

      The ID of the global network.

      Parameters:
      globalNetworkId - The ID of the global network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • siteId

      Link.Builder siteId(String siteId)

      The ID of the site.

      Parameters:
      siteId - The ID of the site.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Link.Builder description(String description)

      The description of the link.

      Parameters:
      description - The description of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Link.Builder type(String type)

      The type of the link.

      Parameters:
      type - The type of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidth

      Link.Builder bandwidth(Bandwidth bandwidth)

      The bandwidth for the link.

      Parameters:
      bandwidth - The bandwidth for the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bandwidth

      default Link.Builder bandwidth(Consumer<Bandwidth.Builder> bandwidth)

      The bandwidth for the link.

      This is a convenience method that creates an instance of the Bandwidth.Builder avoiding the need to create one manually via Bandwidth.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to bandwidth(Bandwidth).

      Parameters:
      bandwidth - a consumer that will call methods on Bandwidth.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • provider

      Link.Builder provider(String provider)

      The provider of the link.

      Parameters:
      provider - The provider of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      Link.Builder createdAt(Instant createdAt)

      The date and time that the link was created.

      Parameters:
      createdAt - The date and time that the link was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Link.Builder state(String state)

      The state of the link.

      Parameters:
      state - The state of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Link.Builder state(LinkState state)

      The state of the link.

      Parameters:
      state - The state of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags for the link.

      Parameters:
      tags - The tags for the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Link.Builder tags(Tag... tags)

      The tags for the link.

      Parameters:
      tags - The tags for the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags for the link.

      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<Tag>).

      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: