You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ResourceRecordSet toAdd = ResourceRecordSet.builder().name("www.denominator.io.").type("A").add("1.1.1.1").build();
Change creating = resourceRecordSetApi.create(toAdd);
// replace below with your favorite polling loop, or.. just let it ride
checkState(Predicates2.retry(new Predicate<Change>() {
public boolean apply(Change input) {
return route53Api.getChange(input.getId()).getStatus() == INSYNC;
}
}, 600, 1, 5, SECONDS).apply(creating), "%s never synced!", creating);
same process to remove, except s/resourceRecordSetApi.create/resourceRecordSetApi.delete, and you could get a null change if the record was already removed.
The text was updated successfully, but these errors were encountered:
Here's code to add a record to a set.
same process to remove, except
s/resourceRecordSetApi.create/resourceRecordSetApi.delete
, and you could get a null change if the record was already removed.The text was updated successfully, but these errors were encountered: