@Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;

    if (obj instanceof DeletePlatformApplicationRequest == false) return false;
    DeletePlatformApplicationRequest other = (DeletePlatformApplicationRequest) obj;
    if (other.getPlatformApplicationArn() == null ^ this.getPlatformApplicationArn() == null)
      return false;
    if (other.getPlatformApplicationArn() != null
        && other.getPlatformApplicationArn().equals(this.getPlatformApplicationArn()) == false)
      return false;
    return true;
  }
Exemplo n.º 2
0
 private void deletePlatformApplication(String applicationArn) {
   DeletePlatformApplicationRequest request = new DeletePlatformApplicationRequest();
   request.setPlatformApplicationArn(applicationArn);
   snsClient.deletePlatformApplication(request);
 }