コード例 #1
0
 /**
  * Constructs a new DeleteDistributionRequest object. Callers should use the setter or fluent
  * setter (with...) methods to initialize any additional object members.
  *
  * @param id The distribution id.
  * @param ifMatch The value of the ETag header you received when you disabled the distribution.
  *     For example: E2QWRUHAPOMQZL.
  */
 public DeleteDistributionRequest(String id, String ifMatch) {
   setId(id);
   setIfMatch(ifMatch);
 }
コード例 #2
0
 /**
  * The value of the <code>ETag</code> header that you received when you disabled the distribution.
  * For example: <code>E2QWRUHAPOMQZL</code>.
  *
  * @param ifMatch The value of the <code>ETag</code> header that you received when you disabled
  *     the distribution. For example: <code>E2QWRUHAPOMQZL</code>.
  * @return Returns a reference to this object so that method calls can be chained together.
  */
 public DeleteDistributionRequest withIfMatch(String ifMatch) {
   setIfMatch(ifMatch);
   return this;
 }