Interface ListGroupResourcesResponse.Builder

    • Method Detail

      • resources

        ListGroupResourcesResponse.Builder resources​(Collection<ListGroupResourcesItem> resources)

        An array of resources from which you can determine each resource's identity, type, and group membership status.

        Parameters:
        resources - An array of resources from which you can determine each resource's identity, type, and group membership status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        ListGroupResourcesResponse.Builder resources​(ListGroupResourcesItem... resources)

        An array of resources from which you can determine each resource's identity, type, and group membership status.

        Parameters:
        resources - An array of resources from which you can determine each resource's identity, type, and group membership status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIdentifiers

        @Deprecated
        ListGroupResourcesResponse.Builder resourceIdentifiers​(Collection<ResourceIdentifier> resourceIdentifiers)
        Deprecated.
        This field is deprecated, use Resources instead.

        Deprecated - don't use this parameter. Use the Resources response field instead.

        Parameters:
        resourceIdentifiers -

        Deprecated - don't use this parameter. Use the Resources response field instead.

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

        @Deprecated
        ListGroupResourcesResponse.Builder resourceIdentifiers​(ResourceIdentifier... resourceIdentifiers)
        Deprecated.
        This field is deprecated, use Resources instead.

        Deprecated - don't use this parameter. Use the Resources response field instead.

        Parameters:
        resourceIdentifiers -

        Deprecated - don't use this parameter. Use the Resources response field instead.

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

        ListGroupResourcesResponse.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

        ListGroupResourcesResponse.Builder queryErrors​(Collection<QueryError> queryErrors)

        A list of QueryError objects. Each error contains an ErrorCode and Message. Possible values for ErrorCode are CLOUDFORMATION_STACK_INACTIVE, CLOUDFORMATION_STACK_NOT_EXISTING, CLOUDFORMATION_STACK_UNASSUMABLE_ROLE and RESOURCE_TYPE_NOT_SUPPORTED.

        Parameters:
        queryErrors - A list of QueryError objects. Each error contains an ErrorCode and Message. Possible values for ErrorCode are CLOUDFORMATION_STACK_INACTIVE, CLOUDFORMATION_STACK_NOT_EXISTING, CLOUDFORMATION_STACK_UNASSUMABLE_ROLE and RESOURCE_TYPE_NOT_SUPPORTED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryErrors

        ListGroupResourcesResponse.Builder queryErrors​(QueryError... queryErrors)

        A list of QueryError objects. Each error contains an ErrorCode and Message. Possible values for ErrorCode are CLOUDFORMATION_STACK_INACTIVE, CLOUDFORMATION_STACK_NOT_EXISTING, CLOUDFORMATION_STACK_UNASSUMABLE_ROLE and RESOURCE_TYPE_NOT_SUPPORTED.

        Parameters:
        queryErrors - A list of QueryError objects. Each error contains an ErrorCode and Message. Possible values for ErrorCode are CLOUDFORMATION_STACK_INACTIVE, CLOUDFORMATION_STACK_NOT_EXISTING, CLOUDFORMATION_STACK_UNASSUMABLE_ROLE and RESOURCE_TYPE_NOT_SUPPORTED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • queryErrors

        ListGroupResourcesResponse.Builder queryErrors​(Consumer<QueryError.Builder>... queryErrors)

        A list of QueryError objects. Each error contains an ErrorCode and Message. Possible values for ErrorCode are CLOUDFORMATION_STACK_INACTIVE, CLOUDFORMATION_STACK_NOT_EXISTING, CLOUDFORMATION_STACK_UNASSUMABLE_ROLE and RESOURCE_TYPE_NOT_SUPPORTED.

        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)