public ContainerBuilder setPreviouslyEncrypted(boolean previouslyEncrypted) {
    this.previouslyEncrypted = previouslyEncrypted;
    return this;
  }
Sets the previously encrypted setting of the {@link Container} to build.
@param previouslyEncrypted The previouslyEncrypted setting to set.
@return This builder.
ambry-api/src/main/java/com/github/ambry/account/ContainerBuilder.java