Interface Site.Builder

    • Method Detail

      • 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.
      • 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:
        SiteState, SiteState
      • 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:
        SiteState, SiteState
      • tags

        Site.Builder tags​(Collection<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

        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

        Site.Builder tags​(Consumer<Tag.Builder>... 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).

        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)