public void setReason(String reason) {
        this.reason = reason;
    }
<p>
The reason for the status of the managed agent.
</p>

@param reason
       The reason for the status of the managed agent.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ManagedAgentStateChange.java