@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformApplicationArn() == null) ? 0 : getPlatformApplicationArn().hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetPlatformApplicationAttributesRequest == false) return false; GetPlatformApplicationAttributesRequest other = (GetPlatformApplicationAttributesRequest) obj; if (other.getPlatformApplicationArn() == null ^ this.getPlatformApplicationArn() == null) return false; if (other.getPlatformApplicationArn() != null && other.getPlatformApplicationArn().equals(this.getPlatformApplicationArn()) == false) return false; return true; }
/** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPlatformApplicationArn() != null) sb.append("PlatformApplicationArn: ").append(getPlatformApplicationArn()); sb.append("}"); return sb.toString(); }
public Request<GetPlatformApplicationAttributesRequest> marshall(GetPlatformApplicationAttributesRequest getPlatformApplicationAttributesRequest) { if (getPlatformApplicationAttributesRequest == null) { throw new SdkClientException("Invalid argument passed to marshall(...)"); } Request<GetPlatformApplicationAttributesRequest> request = new DefaultRequest<GetPlatformApplicationAttributesRequest>( getPlatformApplicationAttributesRequest, "AmazonSNS"); request.addParameter("Action", "GetPlatformApplicationAttributes"); request.addParameter("Version", "2010-03-31"); request.setHttpMethod(HttpMethodName.POST); if (getPlatformApplicationAttributesRequest.getPlatformApplicationArn() != null) { request.addParameter("PlatformApplicationArn", StringUtils.fromString(getPlatformApplicationAttributesRequest.getPlatformApplicationArn())); } return request; }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformApplicationArn() == null) ? 0 : getPlatformApplicationArn() .hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetPlatformApplicationAttributesRequest == false) return false; GetPlatformApplicationAttributesRequest other = (GetPlatformApplicationAttributesRequest) obj; if (other.getPlatformApplicationArn() == null ^ this.getPlatformApplicationArn() == null) return false; if (other.getPlatformApplicationArn() != null && other.getPlatformApplicationArn().equals(this.getPlatformApplicationArn()) == false) return false; return true; } }
/** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPlatformApplicationArn() != null) sb.append("PlatformApplicationArn: " + getPlatformApplicationArn()); sb.append("}"); return sb.toString(); }
public Request<GetPlatformApplicationAttributesRequest> marshall( GetPlatformApplicationAttributesRequest getPlatformApplicationAttributesRequest) { if (getPlatformApplicationAttributesRequest == null) { throw new AmazonClientException( "Invalid argument passed to marshall(GetPlatformApplicationAttributesRequest)"); } Request<GetPlatformApplicationAttributesRequest> request = new DefaultRequest<GetPlatformApplicationAttributesRequest>( getPlatformApplicationAttributesRequest, "AmazonSNS"); request.addParameter("Action", "GetPlatformApplicationAttributes"); request.addParameter("Version", "2010-03-31"); String prefix; if (getPlatformApplicationAttributesRequest.getPlatformApplicationArn() != null) { prefix = "PlatformApplicationArn"; String platformApplicationArn = getPlatformApplicationAttributesRequest .getPlatformApplicationArn(); request.addParameter(prefix, StringUtils.fromString(platformApplicationArn)); } return request; } }
@Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getPlatformApplicationArn() == null) ? 0 : getPlatformApplicationArn() .hashCode()); return hashCode; }
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof GetPlatformApplicationAttributesRequest == false) return false; GetPlatformApplicationAttributesRequest other = (GetPlatformApplicationAttributesRequest) obj; if (other.getPlatformApplicationArn() == null ^ this.getPlatformApplicationArn() == null) return false; if (other.getPlatformApplicationArn() != null && other.getPlatformApplicationArn().equals(this.getPlatformApplicationArn()) == false) return false; return true; } }
/** * Returns a string representation of this object; useful for testing and * debugging. * * @return A string representation of this object. * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getPlatformApplicationArn() != null) sb.append("PlatformApplicationArn: " + getPlatformApplicationArn()); sb.append("}"); return sb.toString(); }
public Request<GetPlatformApplicationAttributesRequest> marshall( GetPlatformApplicationAttributesRequest getPlatformApplicationAttributesRequest) { if (getPlatformApplicationAttributesRequest == null) { throw new AmazonClientException( "Invalid argument passed to marshall(GetPlatformApplicationAttributesRequest)"); } Request<GetPlatformApplicationAttributesRequest> request = new DefaultRequest<GetPlatformApplicationAttributesRequest>( getPlatformApplicationAttributesRequest, "AmazonSNS"); request.addParameter("Action", "GetPlatformApplicationAttributes"); request.addParameter("Version", "2010-03-31"); String prefix; if (getPlatformApplicationAttributesRequest.getPlatformApplicationArn() != null) { prefix = "PlatformApplicationArn"; String platformApplicationArn = getPlatformApplicationAttributesRequest .getPlatformApplicationArn(); request.addParameter(prefix, StringUtils.fromString(platformApplicationArn)); } return request; } }