Interface ListResourceScanRelatedResourcesResponse.Builder

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

  • Method Details

    • relatedResources

      List of up to MaxResults resources in the specified resource scan related to the specified resources.

      Parameters:
      relatedResources - List of up to MaxResults resources in the specified resource scan related to the specified resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relatedResources

      List of up to MaxResults resources in the specified resource scan related to the specified resources.

      Parameters:
      relatedResources - List of up to MaxResults resources in the specified resource scan related to the specified resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • relatedResources

      List of up to MaxResults resources in the specified resource scan related to the specified resources.

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

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

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

      If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScanRelatedResources again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string.

      Parameters:
      nextToken - If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResourceScanRelatedResources again and use that value for the NextToken parameter. If the request returns all results, NextToken is set to an empty string.
      Returns:
      Returns a reference to this object so that method calls can be chained together.