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