DateTime now = DateTime.now();
Date expectedTerminationTime = new Date(now.plusDays(10).getMillis());
Date markTime = new Date(now.getMillis());
String fieldName = "fieldName123";
String fieldValue = "fieldValue456";
Resource resource = new AWSResource().withId(id).withResourceType(resourceType)
.withDescription(description).withOwnerEmail(ownerEmail).withRegion(region)
.withState(state).withTerminationReason(terminationReason)
.withExpectedTerminationTime(expectedTerminationTime)
.withMarkTime(markTime).withOptOutOfJanitor(false)
.setAdditionalField(fieldName, fieldValue);