public CreateRoutingProfileRequest withAgentAvailabilityTimer(String agentAvailabilityTimer) {
        setAgentAvailabilityTimer(agentAvailabilityTimer);
        return this;
    }
<p>
Whether agents with this routing profile will have their routing order calculated based on <i>longest idle
time</i> or <i>time since their last inbound contact</i>.
</p>

@param agentAvailabilityTimer
       Whether agents with this routing profile will have their routing order calculated based on <i>longest idle
       time</i> or <i>time since their last inbound contact</i>.
@return Returns a reference to this object so that method calls can be chained together.
@see AgentAvailabilityTimer
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateRoutingProfileRequest.java