コード例 #1
0
  @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;
  }
コード例 #2
0
 private void deletePlatformApplication(String applicationArn) {
   DeletePlatformApplicationRequest request = new DeletePlatformApplicationRequest();
   request.setPlatformApplicationArn(applicationArn);
   snsClient.deletePlatformApplication(request);
 }