Refine search
@JsonIgnore @ValidationMethod(message = ".gzipEnabledForRequests requires gzipEnabled set to true") public boolean isCompressionConfigurationValid() { return !gzipEnabledForRequests || gzipEnabled; } }
@ValidationMethod(message = "keyStorePath should not be null") public boolean isValidKeyStorePath() { return keyStoreType.startsWith("Windows-") || keyStorePath != null; }
@ValidationMethod(message = "keyStorePassword should not be null or empty") public boolean isValidKeyStorePassword() { return keyStoreType.startsWith("Windows-") || !Strings.isNullOrEmpty(keyStorePassword); }
@JsonIgnore @ValidationMethod(message = "currentLogFilename can only be null when archiving is enabled") public boolean isValidFileConfiguration() { return archive || currentLogFilename != null; }
@ValidationMethod(message = "trustStorePassword should not be null or empty if trustStorePath not null") public boolean isValidTrustStorePassword() { return trustStorePath == null || trustStoreType.startsWith("Windows-") || !Strings.isNullOrEmpty(trustStorePassword); }
@JsonIgnore @ValidationMethod(message = ".minSize must be less than or equal to maxSize") public boolean isMinSizeLessThanMaxSize() { return minSize <= maxSize; }
@ValidationMethod(message = "keyStorePassword should not be null or empty if keyStorePath not null") public boolean isValidKeyStorePassword() { return keyStorePath == null || keyStoreType.startsWith("Windows-") || !Strings.isNullOrEmpty(keyStorePassword); }
@JsonIgnore @ValidationMethod(message = ".minThreads must be less than or equal to maxThreads") public boolean isThreadPoolSizedCorrectly() { return minThreads <= maxThreads; }
@ValidationMethod(message = "must define keyManager when clientAuth is REQUIRE") public boolean isClientAuthConfigValid() { return clientAuth != ClientAuth.REQUIRE || keyManager != null; }
@JsonIgnore @ValidationMethod(message = "must have archivedLogFilenamePattern if archive is true") public boolean isValidArchiveConfiguration() { return !archive || (archivedLogFilenamePattern != null); }
@ValidationMethod(message = "must define keyManager when clientAuth is REQUIRE") public boolean isClientAuthConfigValid() { return clientAuth != ClientAuth.REQUIRE || keyManager != null; }
@JsonIgnore @ValidationMethod(message = ".initialSize must be greater than or equal to minSize") public boolean isInitialSizeGreaterThanMinSize() { return minSize <= initialSize; }
@ValidationMethod public boolean isCerficateCheckingDisabled() { if (disableCertificateChecks) { System.setProperty("com.amazonaws.sdk.disableCertChecking","true"); } return true; }
@JsonIgnore @ValidationMethod(message = "must have a smaller minThreads than maxThreads") public boolean isThreadPoolSizedCorrectly() { return minThreads <= maxThreads; }
@ValidationMethod public boolean isCerficateCheckingDisabled() { if (disableCertificateChecks) { System.setProperty("com.amazonaws.sdk.disableCertChecking","true"); } return true; }
@JsonIgnore @ValidationMethod(message = ".initialSize must be less than or equal to maxSize") public boolean isInitialSizeLessThanMaxSize() { return initialSize <= maxSize; }
@ValidationMethod(message = "keyStorePath should not be null") public boolean isValidKeyStorePath() { return keyStoreType.startsWith("Windows-") || keyStorePath != null; }
@JsonIgnore @ValidationMethod(message = "when archivedLogFilenamePattern contains %i, maxFileSize must be specified") public boolean isMaxFileSizeSettingSpecified() { return !archive || !(archivedLogFilenamePattern != null && archivedLogFilenamePattern.contains("%i")) || maxFileSize != null; }
@ValidationMethod(message = "keyStorePassword should not be null or empty") public boolean isValidKeyStorePassword() { return keyStoreType.startsWith("Windows-") || !Strings.isNullOrEmpty(keyStorePassword); }
@JsonIgnore @ValidationMethod(message = "when specifying maxFileSize, archivedLogFilenamePattern must contain %i") public boolean isValidForMaxFileSizeSetting() { return !archive || maxFileSize == null || (archivedLogFilenamePattern != null && archivedLogFilenamePattern.contains("%i")); }