operator/src/main/java/oracle/kubernetes/operator/helpers/LegalNames.java
public static boolean isDns1123Required(String fieldName) {
    if (fieldName != null) {
      for (String dns1123Field: getDns1123Fields()) {
        if (dns1123Field.equalsIgnoreCase(fieldName)) {
          return true;
        }
      }
    }
    return false;
  }
/**
   * Returns true if the value in the field is required to be DNS-1123 legal.
   *
   * @param fieldName Name of the field to be checked
   * @return true if the value needs to be DNS1123 legal, false otherwise
   */
Returns true if the value in the field is required to be DNS-1123 legal.
@param fieldName Name of the field to be checked
@return true if the value needs to be DNS1123 legal, false otherwise
Returns true if the value in the field is required to be DNS - 1123 legal . @param fieldName Name of the field to be checked @return true if the value needs to be DNS1123 legal false otherwise
public static boolean isDns1123Required(String fieldName) {
    if (fieldName != null) {
      for (String dns1123Field: getDns1123Fields()) {
        if (dns1123Field.equalsIgnoreCase(fieldName)) {
          return true;
        }
      }
    }
    return false;
  }
public static boolean isDns1123Required ( String fieldName ) { if ( fieldName != null ) { for ( String dns1123Field : getDns1123Fields ( ) ) { if ( dns1123Field . equalsIgnoreCase ( fieldName ) ) { return true ; } } } return false ; }
Returns true if the value in the field is required to be DNS-1123 legal.
Returns true if the value in the field is required to be DNS - 1123 legal .