Interface DataRetrievalPolicy.Builder

    • Method Detail

      • rules

        DataRetrievalPolicy.Builder rules​(Collection<DataRetrievalRule> rules)

        The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

        Parameters:
        rules - The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        DataRetrievalPolicy.Builder rules​(DataRetrievalRule... rules)

        The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.

        Parameters:
        rules - The policy rule. Although this is a list type, currently there must be only one rule, which contains a Strategy field and optionally a BytesPerHour field.
        Returns:
        Returns a reference to this object so that method calls can be chained together.