Interface DescribeInstanceInformationRequest.Builder

    • Method Detail

      • instanceInformationFilterList

        DescribeInstanceInformationRequest.Builder instanceInformationFilterList​(Collection<InstanceInformationFilter> instanceInformationFilterList)

        This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes.

        Attempting to use InstanceInformationFilterList and Filters leads to an exception error.

        Parameters:
        instanceInformationFilterList - This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes.

        Attempting to use InstanceInformationFilterList and Filters leads to an exception error.

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

        DescribeInstanceInformationRequest.Builder instanceInformationFilterList​(InstanceInformationFilter... instanceInformationFilterList)

        This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes.

        Attempting to use InstanceInformationFilterList and Filters leads to an exception error.

        Parameters:
        instanceInformationFilterList - This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes.

        Attempting to use InstanceInformationFilterList and Filters leads to an exception error.

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

        DescribeInstanceInformationRequest.Builder instanceInformationFilterList​(Consumer<InstanceInformationFilter.Builder>... instanceInformationFilterList)

        This is a legacy method. We recommend that you don't use this method. Instead, use the Filters data type. Filters enables you to return node information by filtering based on tags applied to managed nodes.

        Attempting to use InstanceInformationFilterList and Filters leads to an exception error.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #instanceInformationFilterList(List).

        Parameters:
        instanceInformationFilterList - a consumer that will call methods on InstanceInformationFilter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #instanceInformationFilterList(java.util.Collection)
      • filters

        DescribeInstanceInformationRequest.Builder filters​(Collection<InstanceInformationStringFilter> filters)

        One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters data type instead of InstanceInformationFilterList, which is deprecated.

        Parameters:
        filters - One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters data type instead of InstanceInformationFilterList, which is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribeInstanceInformationRequest.Builder filters​(InstanceInformationStringFilter... filters)

        One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters data type instead of InstanceInformationFilterList, which is deprecated.

        Parameters:
        filters - One or more filters. Use a filter to return a more specific list of managed nodes. You can filter based on tags applied to your managed nodes. Tag filters can't be combined with other filter types. Use this Filters data type instead of InstanceInformationFilterList, which is deprecated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        DescribeInstanceInformationRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. The default value is 10 items.

        Parameters:
        maxResults - The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results. The default value is 10 items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeInstanceInformationRequest.Builder nextToken​(String nextToken)

        The token for the next set of items to return. (You received this token from a previous call.)

        Parameters:
        nextToken - The token for the next set of items to return. (You received this token from a previous call.)
        Returns:
        Returns a reference to this object so that method calls can be chained together.