Interface ListPlatformBranchesRequest.Builder

    • Method Detail

      • filters

        ListPlatformBranchesRequest.Builder filters​(Collection<SearchFilter> filters)

        Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter terms.

        The following list shows valid attribute values for each of the SearchFilter terms. Most operators take a single value. The in and not_in operators can take multiple values.

        • Attribute = BranchName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = LifecycleState:

          • Operator: = | != | in | not_in

          • Values: beta | supported | deprecated | retired

        • Attribute = PlatformName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = TierType:

          • Operator: = | !=

          • Values: WebServer/Standard | Worker/SQS/HTTP

        Array size: limited to 10 SearchFilter objects.

        Within each SearchFilter item, the Values array is limited to 10 items.

        Parameters:
        filters - Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter terms.

        The following list shows valid attribute values for each of the SearchFilter terms. Most operators take a single value. The in and not_in operators can take multiple values.

        • Attribute = BranchName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = LifecycleState:

          • Operator: = | != | in | not_in

          • Values: beta | supported | deprecated | retired

        • Attribute = PlatformName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = TierType:

          • Operator: = | !=

          • Values: WebServer/Standard | Worker/SQS/HTTP

        Array size: limited to 10 SearchFilter objects.

        Within each SearchFilter item, the Values array is limited to 10 items.

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

        ListPlatformBranchesRequest.Builder filters​(SearchFilter... filters)

        Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter terms.

        The following list shows valid attribute values for each of the SearchFilter terms. Most operators take a single value. The in and not_in operators can take multiple values.

        • Attribute = BranchName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = LifecycleState:

          • Operator: = | != | in | not_in

          • Values: beta | supported | deprecated | retired

        • Attribute = PlatformName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = TierType:

          • Operator: = | !=

          • Values: WebServer/Standard | Worker/SQS/HTTP

        Array size: limited to 10 SearchFilter objects.

        Within each SearchFilter item, the Values array is limited to 10 items.

        Parameters:
        filters - Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter terms.

        The following list shows valid attribute values for each of the SearchFilter terms. Most operators take a single value. The in and not_in operators can take multiple values.

        • Attribute = BranchName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = LifecycleState:

          • Operator: = | != | in | not_in

          • Values: beta | supported | deprecated | retired

        • Attribute = PlatformName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = TierType:

          • Operator: = | !=

          • Values: WebServer/Standard | Worker/SQS/HTTP

        Array size: limited to 10 SearchFilter objects.

        Within each SearchFilter item, the Values array is limited to 10 items.

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

        ListPlatformBranchesRequest.Builder filters​(Consumer<SearchFilter.Builder>... filters)

        Criteria for restricting the resulting list of platform branches. The filter is evaluated as a logical conjunction (AND) of the separate SearchFilter terms.

        The following list shows valid attribute values for each of the SearchFilter terms. Most operators take a single value. The in and not_in operators can take multiple values.

        • Attribute = BranchName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = LifecycleState:

          • Operator: = | != | in | not_in

          • Values: beta | supported | deprecated | retired

        • Attribute = PlatformName:

          • Operator: = | != | begins_with | ends_with | contains | in | not_in

        • Attribute = TierType:

          • Operator: = | !=

          • Values: WebServer/Standard | Worker/SQS/HTTP

        Array size: limited to 10 SearchFilter objects.

        Within each SearchFilter item, the Values array is limited to 10 items.

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

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

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

        ListPlatformBranchesRequest.Builder maxRecords​(Integer maxRecords)

        The maximum number of platform branch values returned in one call.

        Parameters:
        maxRecords - The maximum number of platform branch values returned in one call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPlatformBranchesRequest.Builder nextToken​(String nextToken)

        For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.

        If no NextToken is specified, the first page is retrieved.

        Parameters:
        nextToken - For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.

        If no NextToken is specified, the first page is retrieved.

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