Interface ListParentsResponse.Builder

  • Method Details

    • parents

      A list of parents for the specified child account or OU.

      Parameters:
      parents - A list of parents for the specified child account or OU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parents

      ListParentsResponse.Builder parents(Parent... parents)

      A list of parents for the specified child account or OU.

      Parameters:
      parents - A list of parents for the specified child account or OU.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parents

      A list of parents for the specified child account or OU.

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

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

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

      ListParentsResponse.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.