Class KubernetesRoleBindingDetails

    • Method Detail

      • kind

        public final String kind()

        The kind of the role. For role binding, this value will be RoleBinding.

        Returns:
        The kind of the role. For role binding, this value will be RoleBinding.
      • name

        public final String name()

        The name of the RoleBinding.

        Returns:
        The name of the RoleBinding.
      • uid

        public final String uid()

        The unique identifier of the role binding.

        Returns:
        The unique identifier of the role binding.
      • roleRefName

        public final String roleRefName()

        The name of the role being referenced. This must match the name of the Role or ClusterRole that you want to bind to.

        Returns:
        The name of the role being referenced. This must match the name of the Role or ClusterRole that you want to bind to.
      • roleRefKind

        public final String roleRefKind()

        The type of the role being referenced. This could be either Role or ClusterRole.

        Returns:
        The type of the role being referenced. This could be either Role or ClusterRole .
      • 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)