/** * <p> * The type of geographical area you want AWS WAF to search for. Currently <code>Country</code> is the only valid * value. * </p> * * @param type * The type of geographical area you want AWS WAF to search for. Currently <code>Country</code> is the only * valid value. * @return Returns a reference to this object so that method calls can be chained together. * @see GeoMatchConstraintType */ public GeoMatchConstraint withType(String type) { setType(type); return this; }
if (context.testExpression("Type", targetDepth)) { context.nextToken(); geoMatchConstraint.setType(context.getUnmarshaller(String.class).unmarshall(context));
if (context.testExpression("Type", targetDepth)) { context.nextToken(); geoMatchConstraint.setType(context.getUnmarshaller(String.class).unmarshall(context));