Interface SearchResourcesResponse.Builder

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

public static interface SearchResourcesResponse.Builder extends ResourceGroupsResponse.Builder, SdkPojo, CopyableBuilder<SearchResourcesResponse.Builder,SearchResourcesResponse>
  • Method Details

    • resourceIdentifiers

      SearchResourcesResponse.Builder resourceIdentifiers(Collection<ResourceIdentifier> resourceIdentifiers)

      The ARNs and resource types of resources that are members of the group that you specified.

      Parameters:
      resourceIdentifiers - The ARNs and resource types of resources that are members of the group that you specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifiers

      SearchResourcesResponse.Builder resourceIdentifiers(ResourceIdentifier... resourceIdentifiers)

      The ARNs and resource types of resources that are members of the group that you specified.

      Parameters:
      resourceIdentifiers - The ARNs and resource types of resources that are members of the group that you specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifiers

      SearchResourcesResponse.Builder resourceIdentifiers(Consumer<ResourceIdentifier.Builder>... resourceIdentifiers)

      The ARNs and resource types of resources that are members of the group that you specified.

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

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

      Parameters:
      resourceIdentifiers - a consumer that will call methods on ResourceIdentifier.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • queryErrors

      A list of QueryError objects. Each error is an object that contains ErrorCode and Message structures.

      Possible values for ErrorCode:

      • CLOUDFORMATION_STACK_INACTIVE

      • CLOUDFORMATION_STACK_NOT_EXISTING

      Parameters:
      queryErrors - A list of QueryError objects. Each error is an object that contains ErrorCode and Message structures.

      Possible values for ErrorCode:

      • CLOUDFORMATION_STACK_INACTIVE

      • CLOUDFORMATION_STACK_NOT_EXISTING

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryErrors

      SearchResourcesResponse.Builder queryErrors(QueryError... queryErrors)

      A list of QueryError objects. Each error is an object that contains ErrorCode and Message structures.

      Possible values for ErrorCode:

      • CLOUDFORMATION_STACK_INACTIVE

      • CLOUDFORMATION_STACK_NOT_EXISTING

      Parameters:
      queryErrors - A list of QueryError objects. Each error is an object that contains ErrorCode and Message structures.

      Possible values for ErrorCode:

      • CLOUDFORMATION_STACK_INACTIVE

      • CLOUDFORMATION_STACK_NOT_EXISTING

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryErrors

      A list of QueryError objects. Each error is an object that contains ErrorCode and Message structures.

      Possible values for ErrorCode:

      • CLOUDFORMATION_STACK_INACTIVE

      • CLOUDFORMATION_STACK_NOT_EXISTING

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

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

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