code: public void setRetentionConfigurations(java.util.Collection<RetentionConfiguration> retentionConfigurations) {
          if (retentionConfigurations == null) {
              this.retentionConfigurations = null;
              return;
          }
  
          this.retentionConfigurations = new com.amazonaws.internal.SdkInternalList<RetentionConfiguration>(retentionConfigurations);
      }
docs: <p>
  Returns a retention configuration object.
  </p>
  
  @param retentionConfigurations
  Returns a retention configuration object.