if (getItemCount() != null) sb.append("ItemCount: ").append(getItemCount()).append(","); if (getBillingMode() != null) sb.append("BillingMode: ").append(getBillingMode()); sb.append("}"); return sb.toString();
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTableName() == null) ? 0 : getTableName().hashCode()); hashCode = prime * hashCode + ((getTableId() == null) ? 0 : getTableId().hashCode()); hashCode = prime * hashCode + ((getTableArn() == null) ? 0 : getTableArn().hashCode()); hashCode = prime * hashCode + ((getTableSizeBytes() == null) ? 0 : getTableSizeBytes().hashCode()); hashCode = prime * hashCode + ((getKeySchema() == null) ? 0 : getKeySchema().hashCode()); hashCode = prime * hashCode + ((getTableCreationDateTime() == null) ? 0 : getTableCreationDateTime().hashCode()); hashCode = prime * hashCode + ((getProvisionedThroughput() == null) ? 0 : getProvisionedThroughput().hashCode()); hashCode = prime * hashCode + ((getItemCount() == null) ? 0 : getItemCount().hashCode()); hashCode = prime * hashCode + ((getBillingMode() == null) ? 0 : getBillingMode().hashCode()); return hashCode; }
if (other.getItemCount() != null && other.getItemCount().equals(this.getItemCount()) == false) return false; if (other.getBillingMode() == null ^ this.getBillingMode() == null) return false; if (other.getBillingMode() != null && other.getBillingMode().equals(this.getBillingMode()) == false) return false; return true;
/** * Marshall the given parameter object. */ public void marshall(SourceTableDetails sourceTableDetails, ProtocolMarshaller protocolMarshaller) { if (sourceTableDetails == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(sourceTableDetails.getTableName(), TABLENAME_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableId(), TABLEID_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableArn(), TABLEARN_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableSizeBytes(), TABLESIZEBYTES_BINDING); protocolMarshaller.marshall(sourceTableDetails.getKeySchema(), KEYSCHEMA_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableCreationDateTime(), TABLECREATIONDATETIME_BINDING); protocolMarshaller.marshall(sourceTableDetails.getProvisionedThroughput(), PROVISIONEDTHROUGHPUT_BINDING); protocolMarshaller.marshall(sourceTableDetails.getItemCount(), ITEMCOUNT_BINDING); protocolMarshaller.marshall(sourceTableDetails.getBillingMode(), BILLINGMODE_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }
if (getItemCount() != null) sb.append("ItemCount: ").append(getItemCount()).append(","); if (getBillingMode() != null) sb.append("BillingMode: ").append(getBillingMode()); sb.append("}"); return sb.toString();
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTableName() == null) ? 0 : getTableName().hashCode()); hashCode = prime * hashCode + ((getTableId() == null) ? 0 : getTableId().hashCode()); hashCode = prime * hashCode + ((getTableArn() == null) ? 0 : getTableArn().hashCode()); hashCode = prime * hashCode + ((getTableSizeBytes() == null) ? 0 : getTableSizeBytes().hashCode()); hashCode = prime * hashCode + ((getKeySchema() == null) ? 0 : getKeySchema().hashCode()); hashCode = prime * hashCode + ((getTableCreationDateTime() == null) ? 0 : getTableCreationDateTime().hashCode()); hashCode = prime * hashCode + ((getProvisionedThroughput() == null) ? 0 : getProvisionedThroughput().hashCode()); hashCode = prime * hashCode + ((getItemCount() == null) ? 0 : getItemCount().hashCode()); hashCode = prime * hashCode + ((getBillingMode() == null) ? 0 : getBillingMode().hashCode()); return hashCode; }
if (other.getItemCount() != null && other.getItemCount().equals(this.getItemCount()) == false) return false; if (other.getBillingMode() == null ^ this.getBillingMode() == null) return false; if (other.getBillingMode() != null && other.getBillingMode().equals(this.getBillingMode()) == false) return false; return true;
/** * Marshall the given parameter object. */ public void marshall(SourceTableDetails sourceTableDetails, ProtocolMarshaller protocolMarshaller) { if (sourceTableDetails == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } try { protocolMarshaller.marshall(sourceTableDetails.getTableName(), TABLENAME_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableId(), TABLEID_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableArn(), TABLEARN_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableSizeBytes(), TABLESIZEBYTES_BINDING); protocolMarshaller.marshall(sourceTableDetails.getKeySchema(), KEYSCHEMA_BINDING); protocolMarshaller.marshall(sourceTableDetails.getTableCreationDateTime(), TABLECREATIONDATETIME_BINDING); protocolMarshaller.marshall(sourceTableDetails.getProvisionedThroughput(), PROVISIONEDTHROUGHPUT_BINDING); protocolMarshaller.marshall(sourceTableDetails.getItemCount(), ITEMCOUNT_BINDING); protocolMarshaller.marshall(sourceTableDetails.getBillingMode(), BILLINGMODE_BINDING); } catch (Exception e) { throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e); } }