DefaultGatewayIdentity implements GatewayIdentity { @Override public boolean equals(final Object other) { if (this == other) { return true; } if (other == null) { return false; } if (!getClass().equals(other.getClass())) { return false; } DefaultGatewayIdentity castOther = (DefaultGatewayIdentity) other; return Objects.equals(cognitoIdentityPoolId, castOther.cognitoIdentityPoolId) && Objects.equals(accountId, castOther.accountId) && Objects.equals(cognitoIdentityId, castOther.cognitoIdentityId) && Objects.equals(caller, castOther.caller) && Objects.equals(apiKey, castOther.apiKey) && Objects.equals(sourceIp, castOther.sourceIp) && Objects.equals(accessKey, castOther.accessKey) && Objects.equals(cognitoAuthenticationType, castOther.cognitoAuthenticationType) && Objects.equals(cognitoAuthenticationProvider, castOther.cognitoAuthenticationProvider) && Objects.equals(userArn, castOther.userArn) && Objects.equals(userAgent, castOther.userAgent) && Objects.equals(user, castOther.user); } DefaultGatewayIdentity();   DefaultGatewayIdentity(String cognitoIdentityPoolId, String accountId, String cognitoIdentityId, String caller,
			String apiKey, String sourceIp, String accessKey, String cognitoAuthenticationType, String cognitoAuthenticationProvider,
			String userArn, String userAgent, String user); @Override String getCognitoIdentityPoolId(); void setCognitoIdentityPoolId(String cognitoIdentityPoolId); @Override String getAccountId(); void setAccountId(String accountId); @Override String getCognitoIdentityId(); void setCognitoIdentityId(String cognitoIdentityId); @Override String getCaller(); void setCaller(String caller); @Override String getApiKey(); void setApiKey(String apiKey); @Override String getSourceIp(); void setSourceIp(String sourceIp); @Override String getAccessKey(); void setAccessKey(String accessKey); @Override String getCognitoAuthenticationType(); void setCognitoAuthenticationType(String cognitoAuthenticationType); @Override String getCognitoAuthenticationProvider(); void setCognitoAuthenticationProvider(String cognitoAuthenticationProvider); @Override String getUserArn(); void setUserArn(String userArn); @Override String getUserAgent(); void setUserAgent(String userAgent); @Override String getUser(); void setUser(String user); @Override boolean equals(final Object other); @Override int hashCode(); @Override String toString();  }
@Test public void testEquals() { new CopyConstructorEqualsTester(getConstructor()) .addArguments(0, null, "cognitoIdentityPoolId") .addArguments(1, null, "accountId") .addArguments(2, null, "cognitoIdentityId") .addArguments(3, null, "caller") .addArguments(4, null, "apiKey") .addArguments(5, null, "sourceIp") .addArguments(6, null, "accessKey") .addArguments(7, null, "cognitoAuthenticationType") .addArguments(8, null, "cognitoAuthenticationProvider") .addArguments(9, null, "userArn") .addArguments(10, null, "userAgent") .addArguments(11, null, "user") .testEquals(); }