/**
  * The attribute to reset (currently you can only reset the launch permission attribute).
  *
  * <p>Returns a reference to this object so that method calls can be chained together.
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>launchPermission
  *
  * @param attribute The attribute to reset (currently you can only reset the launch permission
  *     attribute).
  * @return A reference to this updated object so that method calls can be chained together.
  * @see ResetImageAttributeName
  */
 public ResetImageAttributeRequest withAttribute(ResetImageAttributeName attribute) {
   this.attribute = attribute.toString();
   return this;
 }
 /**
  * Constructs a new ResetImageAttributeRequest object. Callers should use the setter or fluent
  * setter (with...) methods to initialize any additional object members.
  *
  * @param imageId The ID of the AMI.
  * @param attribute The attribute to reset (currently you can only reset the launch permission
  *     attribute).
  */
 public ResetImageAttributeRequest(String imageId, ResetImageAttributeName attribute) {
   this.imageId = imageId;
   this.attribute = attribute.toString();
 }
 /**
  * The attribute to reset (currently you can only reset the launch permission attribute).
  *
  * <p><b>Constraints:</b><br>
  * <b>Allowed Values: </b>launchPermission
  *
  * @param attribute The attribute to reset (currently you can only reset the launch permission
  *     attribute).
  * @see ResetImageAttributeName
  */
 public void setAttribute(ResetImageAttributeName attribute) {
   this.attribute = attribute.toString();
 }