/** * Sets the value of the Attribute property for this object. * * <p>Returns a reference to this object so that method calls can be chained together. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>autoEnableIO, productCodes * * @param attribute The new value for the Attribute property for this object. * @return A reference to this updated object so that method calls can be chained together. * @see VolumeAttributeName */ public DescribeVolumeAttributeRequest withAttribute(VolumeAttributeName attribute) { this.attribute = attribute.toString(); return this; }
/** * Sets the value of the Attribute property for this object. * * <p><b>Constraints:</b><br> * <b>Allowed Values: </b>autoEnableIO, productCodes * * @param attribute The new value for the Attribute property for this object. * @see VolumeAttributeName */ public void setAttribute(VolumeAttributeName attribute) { this.attribute = attribute.toString(); }