Interface SearchResourcesResponse.Builder

    • Method Detail

      • 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.
      • nextToken

        SearchResourcesResponse.Builder nextToken​(String 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

        SearchResourcesResponse.Builder queryErrors​(Collection<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

        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

        SearchResourcesResponse.Builder queryErrors​(Consumer<QueryError.Builder>... 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).

        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:
        #queryErrors(java.util.Collection)