Interface ListCommentsRequest.Builder

  • Method Details

    • environmentArn

      ListCommentsRequest.Builder environmentArn(String environmentArn)

      The ARN of this governance environment.

      Parameters:
      environmentArn - The ARN of this governance environment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • project

      The name of the project.

      Parameters:
      project - The name of the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • framework

      ListCommentsRequest.Builder framework(String framework)

      The name of the compliance framework.

      Parameters:
      framework - The name of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frameworkVersion

      ListCommentsRequest.Builder frameworkVersion(String frameworkVersion)

      The version of the compliance framework.

      Parameters:
      frameworkVersion - The version of the compliance framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • controlId

      ListCommentsRequest.Builder controlId(String controlId)

      The control identifier. Optional. If omitted, the operation applies to the full framework.

      Parameters:
      controlId - The control identifier. Optional. If omitted, the operation applies to the full framework.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The response filter criteria. Optional. See CommentFilterName for the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omitting filters returns every comment in the control.

      Parameters:
      filters - The response filter criteria. Optional. See CommentFilterName for the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omitting filters returns every comment in the control.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The response filter criteria. Optional. See CommentFilterName for the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omitting filters returns every comment in the control.

      Parameters:
      filters - The response filter criteria. Optional. See CommentFilterName for the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omitting filters returns every comment in the control.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The response filter criteria. Optional. See CommentFilterName for the filterable attributes. A result must match every attribute you name, and matches if it equals any of the values you give for that attribute. Omitting filters returns every comment in the control.

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

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

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

      ListCommentsRequest.Builder maxResults(Integer maxResults)

      The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the nextToken value from the response to get the next page.

      Parameters:
      maxResults - The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the nextToken value from the response to get the next page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListCommentsRequest.Builder nextToken(String nextToken)

      The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.

      Parameters:
      nextToken - The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListCommentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.