Class RepositoryFilter

    • Method Detail

      • filter

        public final String filter()

        The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.

        Returns:
        The repository filter details. When the PREFIX_MATCH filter type is specified, this value is required and should be the repository name prefix to configure replication for.
      • filterType

        public final RepositoryFilterType filterType()

        The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.

        If the service returns an enum value that is not available in the current SDK version, filterType will return RepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from filterTypeAsString().

        Returns:
        The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.
        See Also:
        RepositoryFilterType
      • filterTypeAsString

        public final String filterTypeAsString()

        The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.

        If the service returns an enum value that is not available in the current SDK version, filterType will return RepositoryFilterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from filterTypeAsString().

        Returns:
        The repository filter type. The only supported value is PREFIX_MATCH, which is a repository name prefix specified with the filter parameter.
        See Also:
        RepositoryFilterType
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)