Interface ListRootsResponse.Builder

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

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

    • roots

      A list of roots that are defined in an organization.

      Parameters:
      roots - A list of roots that are defined in an organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roots

      A list of roots that are defined in an organization.

      Parameters:
      roots - A list of roots that are defined in an organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roots

      A list of roots that are defined in an organization.

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

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

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

      ListRootsResponse.Builder nextToken(String nextToken)

      If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.

      Parameters:
      nextToken - If present, indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.