/** * @param boxUsage * @return Returns a reference to this object so that method calls can be chained together. */ public NumberDomainAttributesExceededException withBoxUsage(Float boxUsage) { setBoxUsage(boxUsage); return this; }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("NumberDomainAttributesExceeded")) return null; NumberDomainAttributesExceededException e = (NumberDomainAttributesExceededException) super.unmarshall(node); e.setBoxUsage(XpathUtils.asFloat(getErrorPropertyPath("BoxUsage"), node)); return e; } }
public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands. String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("NumberDomainAttributesExceeded")) return null; NumberDomainAttributesExceededException e = (NumberDomainAttributesExceededException)super.unmarshall(node); e.setBoxUsage(XpathUtils.asFloat(getErrorPropertyPath("BoxUsage"), node)); return e; } }
/** * @param boxUsage * @return Returns a reference to this object so that method calls can be chained together. */ public NumberDomainAttributesExceededException withBoxUsage(Float boxUsage) { setBoxUsage(boxUsage); return this; }
@Override public AmazonServiceException unmarshall(Node node) throws Exception { // Bail out if this isn't the right error code that this // marshaller understands String errorCode = parseErrorCode(node); if (errorCode == null || !errorCode.equals("NumberDomainAttributesExceeded")) return null; NumberDomainAttributesExceededException e = (NumberDomainAttributesExceededException) super.unmarshall(node); e.setBoxUsage(XpathUtils.asFloat(getErrorPropertyPath("BoxUsage"), node)); return e; } }