Interface ListSitesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListSitesResponse.Builder,ListSitesResponse>, OutpostsResponse.Builder, SdkBuilder<ListSitesResponse.Builder,ListSitesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListSitesResponse

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

    • sites

      Sets the value of the Sites property for this object.
      Parameters:
      sites - The new value for the Sites property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sites

      Sets the value of the Sites property for this object.
      Parameters:
      sites - The new value for the Sites property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sites

      Sets the value of the Sites property for this object. This is a convenience method that creates an instance of the Site.Builder avoiding the need to create one manually via Site.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sites(List<Site>).

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

      ListSitesResponse.Builder nextToken(String nextToken)
      Sets the value of the NextToken property for this object.
      Parameters:
      nextToken - The new value for the NextToken property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.