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

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

    • siteId

      Site.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.
    • siteArn

      Site.Builder siteArn(String siteArn)

      The Amazon Resource Name (ARN) of the site.

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

      Site.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.
    • description

      Site.Builder description(String description)

      The description of the site.

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

      Site.Builder location(Location location)

      The location of the site.

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

      default Site.Builder location(Consumer<Location.Builder> location)

      The location of the site.

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

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

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

      Site.Builder createdAt(Instant createdAt)

      The date and time that the site was created.

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

      Site.Builder state(String state)

      The state of the site.

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

      Site.Builder state(SiteState state)

      The state of the site.

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

      The tags for the site.

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

      Site.Builder tags(Tag... tags)

      The tags for the site.

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

      The tags for the site.

      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: