public void setMaxItems(String maxItems) {
        this.maxItems = maxItems;
    }
<p>
The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a
<code>ListTrafficPolicyInstances</code> request. If you have more than <code>MaxItems</code> traffic policy
instances, the value of the <code>IsTruncated</code> element in the response is <code>true</code>, and the values
of <code>HostedZoneIdMarker</code>, <code>TrafficPolicyInstanceNameMarker</code>, and
<code>TrafficPolicyInstanceTypeMarker</code> represent the first traffic policy instance in the next group of
<code>MaxItems</code> traffic policy instances.
</p>

@param maxItems
       The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a
       <code>ListTrafficPolicyInstances</code> request. If you have more than <code>MaxItems</code> traffic
       policy instances, the value of the <code>IsTruncated</code> element in the response is <code>true</code>,
       and the values of <code>HostedZoneIdMarker</code>, <code>TrafficPolicyInstanceNameMarker</code>, and
       <code>TrafficPolicyInstanceTypeMarker</code> represent the first traffic policy instance in the next group
       of <code>MaxItems</code> traffic policy instances.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/ListTrafficPolicyInstancesRequest.java