Interface ListInstancesRequest.Builder

    • Method Detail

      • nextToken

        ListInstancesRequest.Builder nextToken​(String nextToken)

        The pagination token to fetch the next page of instances.

        Parameters:
        nextToken - The pagination token to fetch the next page of instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListInstancesRequest.Builder maxResults​(Integer maxResults)

        Specify the maximum number of instances to fetch in this paginated request.

        Parameters:
        maxResults - Specify the maximum number of instances to fetch in this paginated request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceNameFilter

        ListInstancesRequest.Builder instanceNameFilter​(Collection<String> instanceNameFilter)

        The filter to ListInstances based on their names.

        Parameters:
        instanceNameFilter - The filter to ListInstances based on their names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceNameFilter

        ListInstancesRequest.Builder instanceNameFilter​(String... instanceNameFilter)

        The filter to ListInstances based on their names.

        Parameters:
        instanceNameFilter - The filter to ListInstances based on their names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceStateFilterWithStrings

        ListInstancesRequest.Builder instanceStateFilterWithStrings​(Collection<String> instanceStateFilter)

        The filter to ListInstances based on their state.

        Parameters:
        instanceStateFilter - The filter to ListInstances based on their state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceStateFilterWithStrings

        ListInstancesRequest.Builder instanceStateFilterWithStrings​(String... instanceStateFilter)

        The filter to ListInstances based on their state.

        Parameters:
        instanceStateFilter - The filter to ListInstances based on their state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceStateFilter

        ListInstancesRequest.Builder instanceStateFilter​(Collection<InstanceState> instanceStateFilter)

        The filter to ListInstances based on their state.

        Parameters:
        instanceStateFilter - The filter to ListInstances based on their state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceStateFilter

        ListInstancesRequest.Builder instanceStateFilter​(InstanceState... instanceStateFilter)

        The filter to ListInstances based on their state.

        Parameters:
        instanceStateFilter - The filter to ListInstances based on their state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.