diff --git a/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/decisionmaker/actions/ModifyCacheMaxSizeAction.java b/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/decisionmaker/actions/ModifyCacheMaxSizeAction.java index f0fb33492..06a23c038 100644 --- a/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/decisionmaker/actions/ModifyCacheMaxSizeAction.java +++ b/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/decisionmaker/actions/ModifyCacheMaxSizeAction.java @@ -222,11 +222,6 @@ public Builder increase(boolean isIncrease) { return this; } - public Builder desiredCacheMaxSize(long desiredCacheMaxSizeInBytes) { - this.desiredCacheMaxSizeInBytes = desiredCacheMaxSizeInBytes; - return this; - } - public Builder setDesiredCacheMaxSizeToMin() { this.desiredCacheMaxSizeInBytes = lowerBoundInBytes; return this;