Interface GetResourceCollectionResponse.Builder

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

public static interface GetResourceCollectionResponse.Builder extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<GetResourceCollectionResponse.Builder,GetResourceCollectionResponse>
  • Method Details

    • resourceCollection

      GetResourceCollectionResponse.Builder resourceCollection(ResourceCollectionFilter resourceCollection)

      The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

      Parameters:
      resourceCollection - The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceCollection

      default GetResourceCollectionResponse.Builder resourceCollection(Consumer<ResourceCollectionFilter.Builder> resourceCollection)

      The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceCollection(ResourceCollectionFilter).

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

      The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.

      Parameters:
      nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.