Class ListPlatformBranchesRequest

    • Method Detail

      • hasFilters

        public final boolean hasFilters()
        For responses, this returns true if the service returned a value for the Filters property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • filters

        public final List<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.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasFilters() method.

        Returns:
        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.

      • maxRecords

        public final Integer maxRecords()

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

        Returns:
        The maximum number of platform branch values returned in one call.
      • nextToken

        public final 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.

        Returns:
        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.

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object