public void afterResponse(Request<?> request, Object obj, TimingInfo timingInfo) {
if (obj instanceof ChangeResourceRecordSetsResult) {
ChangeResourceRecordSetsResult result = (ChangeResourceRecordSetsResult)obj;
removePrefix(result.getChangeInfo());
} else if (obj instanceof CreateHostedZoneResult) {
CreateHostedZoneResult result = (CreateHostedZoneResult)obj;
removePrefix(result.getChangeInfo());
removePrefix(result.getHostedZone());
removePrefix(result.getDelegationSet());
} else if (obj instanceof DeleteHostedZoneResult) {
DeleteHostedZoneResult result = (DeleteHostedZoneResult)obj;
removePrefix(result.getChangeInfo());
} else if (obj instanceof GetChangeResult) {
GetChangeResult result = (GetChangeResult)obj;
removePrefix(result.getChangeInfo());
} else if (obj instanceof GetHostedZoneResult) {
GetHostedZoneResult result = (GetHostedZoneResult)obj;
removePrefix(result.getHostedZone());
} else if (obj instanceof ListHostedZonesResult) {
ListHostedZonesResult result = (ListHostedZonesResult)obj;
for (HostedZone zone : result.getHostedZones()) removePrefix(zone);
} else if (obj instanceof ListResourceRecordSetsResult) {
ListResourceRecordSetsResult result = (ListResourceRecordSetsResult)obj;
for (ResourceRecordSet rrset : result.getResourceRecordSets()) removePrefix(rrset);
} else if (obj instanceof CreateHealthCheckResult) {
CreateHealthCheckResult result = (CreateHealthCheckResult)obj;
removePrefix(result.getHealthCheck());
} else if (obj instanceof GetHealthCheckResult) {
GetHealthCheckResult result = (GetHealthCheckResult)obj;
removePrefix(result.getHealthCheck());
} else if (obj instanceof ListHealthChecksResult) {
ListHealthChecksResult result = (ListHealthChecksResult)obj;
for (HealthCheck check : result.getHealthChecks()) removePrefix(check);
} else if (obj instanceof CreateReusableDelegationSetResult) {
CreateReusableDelegationSetResult result = (CreateReusableDelegationSetResult) obj;
removePrefix(result.getDelegationSet());
} else if (obj instanceof GetHostedZoneResult) {
GetHostedZoneResult result = (GetHostedZoneResult) obj;
removePrefix(result.getDelegationSet());
} else if (obj instanceof GetReusableDelegationSetResult) {
GetReusableDelegationSetResult result = (GetReusableDelegationSetResult) obj;
removePrefix(result.getDelegationSet());
} else if (obj instanceof ListReusableDelegationSetsResult) {
ListReusableDelegationSetsResult result = (ListReusableDelegationSetsResult) obj;
for (DelegationSet delegationSet : result.getDelegationSets())
removePrefix(delegationSet);
}
}