Sets the glacier retrieval tier.

@param tier New value for tier.
@return This object for method chaining.
494036
public RestoreObjectRequest withTier(Tier tier) {
        this.tier = tier == null ? null : tier.toString();
        return this;
    }
733511
func (s *EnvironmentDescription) SetTier(v *EnvironmentTier) *EnvironmentDescription {
	s.Tier = v
	return s
}
616181
func (s *JobDescription) SetTier(v string) *JobDescription {
	s.Tier = &v
	return s
}
1037807
@Override
    public void setMetaClass(final MetaClass metaClass) {
        final MetaClass newMetaClass = new DelegatingMetaClass(metaClass) {
            @Override
            public Object getAttribute(final Object object, final String attribute) {
                return GPathResult.this.getProperty("@" + attribute);
            }

            @Override
            public void setAttribute(final Object object, final String attribute, final Object newValue) {
                GPathResult.this.setProperty("@" + attribute, newValue);
            }
        };
        super.setMetaClass(newMetaClass);
    }
273060
public void setSingleValue(final EndPoint<T> value) throws MIDDException {
        this.upperBound = this.lowerBound = new EndPoint<>(value);
        this.lowerBoundClosed = this.upperBoundClosed = true;

    }
261091
protected IStack<Object> removeTierStack() {
		IStack<Object> result = tierStack.remove(tier);
		--tier;
		return result;
	}
921220
public java.util.Map<java.lang.String, alluxio.grpc.TierList> getAddedBlocksOnTiersMap() {
    return internalGetAddedBlocksOnTiers().getMap();
  }
1243040
public java.util.Map<java.lang.String, alluxio.grpc.TierList> getCurrentBlocksOnTiersMap() {
    return internalGetCurrentBlocksOnTiers().getMap();
  }
1075153
public String assignFoundation(IceCandidate candidate) {
		String identifier = computeIdentifier(candidate);
		synchronized (this.foundations) {
			String foundation = this.foundations.get(identifier);
			if (foundation == null) {
				this.currentFoundation++;
				foundation = String.valueOf(this.currentFoundation);
				this.foundations.put(identifier, foundation);
			}
			candidate.setFoundation(foundation);
			return foundation;
		}
	}
1032574
public alluxio.grpc.TieredIdentity getTieredIdentity() {
    return tieredIdentity_ == null ? alluxio.grpc.TieredIdentity.getDefaultInstance() : tieredIdentity_;
  }
974041
func (s *UpdateEnvironmentInput) SetTier(v *EnvironmentTier) *UpdateEnvironmentInput {
	s.Tier = v
	return s
}
27146
public synchronized void updateStorageInfo() {
    Map<String, Long> tierCapacities = mBlockWorker.getStoreMeta().getCapacityBytesOnTiers();
    long lastTierReservedBytes = 0;
    for (int ordinal = 0; ordinal < mStorageTierAssoc.size(); ordinal++) {
      String tierAlias = mStorageTierAssoc.getAlias(ordinal);
      long tierCapacity = tierCapacities.get(tierAlias);
      long reservedSpace;
      PropertyKey tierReservedSpaceProp =
          PropertyKey.Template.WORKER_TIERED_STORE_LEVEL_RESERVED_RATIO.format(ordinal);
      if (ServerConfiguration.isSet(tierReservedSpaceProp)) {
        LOG.warn("The property reserved.ratio is deprecated, use high/low watermark instead.");
        reservedSpace = (long) (tierCapacity * ServerConfiguration
            .getDouble(tierReservedSpaceProp));
      } else {
        // High watermark defines when to start the space reserving process
        PropertyKey tierHighWatermarkProp =
            PropertyKey.Template.WORKER_TIERED_STORE_LEVEL_HIGH_WATERMARK_RATIO.format(ordinal);
        double tierHighWatermarkConf = ServerConfiguration.getDouble(tierHighWatermarkProp);
        Preconditions.checkArgument(tierHighWatermarkConf > 0,
            "The high watermark of tier %s should be positive, but is %s",
            Integer.toString(ordinal), tierHighWatermarkConf);
        Preconditions.checkArgument(tierHighWatermarkConf < 1,
            "The high watermark of tier %s should be less than 1.0, but is %s",
            Integer.toString(ordinal), tierHighWatermarkConf);
        long highWatermark = (long) (tierCapacity * ServerConfiguration
            .getDouble(tierHighWatermarkProp));
        mHighWatermarks.put(tierAlias, highWatermark);

        // Low watermark defines when to stop the space reserving process if started
        PropertyKey tierLowWatermarkProp =
            PropertyKey.Template.WORKER_TIERED_STORE_LEVEL_LOW_WATERMARK_RATIO.format(ordinal);
        double tierLowWatermarkConf = ServerConfiguration.getDouble(tierLowWatermarkProp);
        Preconditions.checkArgument(tierLowWatermarkConf >= 0,
            "The low watermark of tier %s should not be negative, but is %s",
            Integer.toString(ordinal), tierLowWatermarkConf);
        Preconditions.checkArgument(tierLowWatermarkConf < tierHighWatermarkConf,
            "The low watermark (%s) of tier %d should not be smaller than the high watermark (%s)",
            tierLowWatermarkConf, ordinal, tierHighWatermarkConf);
        reservedSpace =
            (long) (tierCapacity - tierCapacity * ServerConfiguration
                .getDouble(tierLowWatermarkProp));
      }
      lastTierReservedBytes += reservedSpace;
      // On each tier, we reserve no more than its capacity
      lastTierReservedBytes =
          (lastTierReservedBytes <= tierCapacity) ? lastTierReservedBytes : tierCapacity;
      mReservedSpaces.put(tierAlias, lastTierReservedBytes);
    }
  }
711343
public ServiceInstanceQuery getContainQueryCriterion(String key){
        QueryCriterion c = new ContainQueryCriterion(key);
        addQueryCriterion(c);
        return this;
    }
652190
func (s *PutParameterInput) SetTier(v string) *PutParameterInput {
	s.Tier = &v
	return s
}
204832
public AdminRespondToAuthChallengeResult withChallengeParameters(java.util.Map<String, String> challengeParameters) {
        setChallengeParameters(challengeParameters);
        return this;
    }
1248276
public function setTierOneEndpoints($name, $id = null)
    {
        if(!array_key_exists($name, $this->endpoints))
            throw new \Exception('invalid tier 1 Endpoints');

        $this->setEndpoints($name, $this->getUriFromKey($name), $id);

        return $this;
    }
220180
public static TieredIdentity fromProto(alluxio.grpc.TieredIdentity tieredPIdentity) {
    return new TieredIdentity(tieredPIdentity.getTiersList().stream().map(GrpcUtils::fromProto)
        .collect(Collectors.toList()));
  }