code: public RestoreObjectRequest withTier(Tier tier) {
          this.tier = tier == null ? null : tier.toString();
          return this;
      }
docs: Sets the glacier retrieval tier.
  
  @param tier New value for tier.
  @return This object for method chaining.