Interface ListTrailsResponse.Builder

  • Method Details

    • trails

      Returns the name, ARN, and home Region of trails in the current account.

      Parameters:
      trails - Returns the name, ARN, and home Region of trails in the current account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trails

      Returns the name, ARN, and home Region of trails in the current account.

      Parameters:
      trails - Returns the name, ARN, and home Region of trails in the current account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trails

      Returns the name, ARN, and home Region of trails in the current account.

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

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

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

      ListTrailsResponse.Builder nextToken(String nextToken)

      The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.

      Parameters:
      nextToken - The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.