class AwsRDSUtils {

    static boolean isValidSnapshotName (@NotNull String s) {
        return s.length() <= 255 && s.length() > 0 && !s.contains("--") && !s.endsWith("-");
    }

    private  AwsRDSUtils();

}